Skip to content

Commit

Permalink
Merge pull request #413 from karlnapf/master
Browse files Browse the repository at this point in the history
small SG_ADD type cast fix
  • Loading branch information
Soeren Sonnenburg committed Apr 3, 2012
2 parents efd2da9 + bad4740 commit 0e4f543
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shogun/features/Subset.cpp
Expand Up @@ -40,6 +40,6 @@ CSubset* CSubset::duplicate() {
}

void CSubset::init() {
m_parameters->add((CSGObject**)&m_subset_idx, "subset",
"Vector of subset indices");
SG_ADD((SGVector<index_t>*)&m_subset_idx, "subset",
"Vector of subset indices", MS_NOT_AVAILABLE);
}

0 comments on commit 0e4f543

Please sign in to comment.