From 35955de0e68960b5ee6797f7a6e34984b42ebfe6 Mon Sep 17 00:00:00 2001 From: Viktor Gal Date: Thu, 17 May 2018 14:46:21 +0200 Subject: [PATCH] fix the type of var in linalg::set_const in CARTree --- src/shogun/multiclass/tree/CARTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shogun/multiclass/tree/CARTree.cpp b/src/shogun/multiclass/tree/CARTree.cpp index 7f7c3b6bedf..6d73ef91603 100644 --- a/src/shogun/multiclass/tree/CARTree.cpp +++ b/src/shogun/multiclass/tree/CARTree.cpp @@ -585,7 +585,7 @@ index_t CCARTree::compute_best_attribute(const SGMatrix& mat, const S if (m_pre_sort) { indices_mask = SGVector(mat.num_rows); - linalg::set_const(indices_mask, -1LL); + linalg::set_const(indices_mask, int64_t(-1)); for(index_t j=0;j=0)