stupid uninitialized variable in the mlp training caught by cppcheck