Skip to content

Commit

Permalink
fix the type of var in linalg::set_const in CARTree
Browse files Browse the repository at this point in the history
  • Loading branch information
vigsterkr committed May 17, 2018
1 parent 8c3c372 commit 35955de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shogun/multiclass/tree/CARTree.cpp
Expand Up @@ -585,7 +585,7 @@ index_t CCARTree::compute_best_attribute(const SGMatrix<float64_t>& mat, const S
if (m_pre_sort)
{
indices_mask = SGVector<int64_t>(mat.num_rows);
linalg::set_const(indices_mask, -1LL);
linalg::set_const(indices_mask, int64_t(-1));
for(index_t j=0;j<active_indices.size();++j)
{
if (indices_mask[active_indices[j]]>=0)
Expand Down

0 comments on commit 35955de

Please sign in to comment.