Fixed missing check in bob.learn.mlp