Skip to content

Commit

Permalink
* wrong looop initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed Aug 22, 2012
1 parent 80f82b5 commit bbb3457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/structure/MulticlassModel.cpp
Expand Up @@ -83,7 +83,7 @@ CResultSet* CMulticlassModel::argmax(
float64_t score = 0, ypred = 0;
float64_t max_score = -CMath::INFTY;

for ( int32_t c = 1 ; c < m_num_classes ; ++c )
for ( int32_t c = 0 ; c < m_num_classes ; ++c )
{
score = df->dense_dot(feat_idx, w.vector+c*feats_dim, feats_dim);
if ( training )
Expand Down

0 comments on commit bbb3457

Please sign in to comment.