update for sstream

This commit is contained in:
kuepper 2004-09-29 18:37:20 +00:00
commit 73c97e6bfa
5 changed files with 55 additions and 21 deletions

View file

@ -204,7 +204,7 @@ int correct(const mlp::net& net, const mlp::set& set)
for (mlp::set::const_iterator s = set.begin(); s != set.end(); ++s)
{
int partial = 0;
unsigned partial = 0;
for (unsigned i = 0; i < s->output.size(); ++i)
if (s->output[i] < 0.5 && net(s->input)[i] < 0.5 ||