Skip to content

Commit

Permalink
small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
khalednasr committed Mar 23, 2014
1 parent 804c399 commit d825264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/neuralnets/NeuralLayer.cpp
Expand Up @@ -21,8 +21,8 @@ CNeuralLayer::CNeuralLayer()


CNeuralLayer::CNeuralLayer(int32_t num_neurons)
: CSGObject(), m_num_neurons(0),
m_previous_layer_num_neurons(0), m_batch_size(0)
: CSGObject(), m_num_neurons(num_neurons),
m_previous_layer_num_neurons(0), m_batch_size(0)
{
init();
}
Expand Down

0 comments on commit d825264

Please sign in to comment.