Skip to content

Commit

Permalink
Fix compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed May 20, 2012
1 parent 3fe856d commit 1d40518
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/multiclass/ecoc/ECOCDiscriminantEncoder.cpp
Expand Up @@ -89,9 +89,9 @@ void CECOCDiscriminantEncoder::binary_partition(const vector<int32_t>& classes)
vector<int32_t> part1(classes.begin(), classes.begin()+isplit);
vector<int32_t> part2(classes.begin()+isplit, classes.end());
run_sffs(part1, part2);
for (int32_t i=0; i < part1.size(); ++i)
for (index_t i=0; i < part1.size(); ++i)
m_codebook(m_code_idx, part1[i]) = +1;
for (int32_t i=0; i < part2.size(); ++i)
for (index_t i=0; i < part2.size(); ++i)
m_codebook(m_code_idx, part2[i]) = -1;
m_code_idx++;

Expand Down

0 comments on commit 1d40518

Please sign in to comment.