Skip to content

Commit

Permalink
resize SGVector to match total size
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed May 7, 2012
1 parent 8539b0f commit 090a330
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shogun/multiclass/MulticlassOneVsOneStrategy.cpp
Expand Up @@ -60,6 +60,7 @@ SGVector<int32_t> CMulticlassOneVsOneStrategy::train_prepare_next()
m_train_pair_idx_2=m_train_pair_idx_1+1;
}

subset.resize(tot);
return subset;
}

Expand Down

0 comments on commit 090a330

Please sign in to comment.