Fix conversion warning

This commit is contained in:
Simon Giraudot 2018-01-31 13:55:51 +01:00
parent 6269309d86
commit 361f132290
1 changed files with 2 additions and 2 deletions

View File

@ -638,8 +638,8 @@ void Point_set_item_classification::train(int classifier, unsigned int nb_trials
if (m_random_forest != NULL)
delete m_random_forest;
m_random_forest = new Random_forest (m_labels, m_features,
max_depth, 5, 15,
num_trees);
int(max_depth), 5, 15,
int(num_trees));
m_random_forest->train (training);
CGAL::Classification::classify<Concurrency_tag> (*(m_points->point_set()),
m_labels, *m_random_forest,