mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
added explicit () to avoid MSVC /analyze warning
This commit is contained in:
parent
d95721107c
commit
eecda6d308
@ -1367,7 +1367,7 @@ void CvForestERTree::split_node_data( CvDTreeNode* node )
|
||||
data->get_ord_var_data( node, vi, values_buf, missing_buf, &values, &missing, 0 );
|
||||
|
||||
for( i = 0; i < n; i++ )
|
||||
nr1 += (!missing[i] & dir[i]);
|
||||
nr1 += ((!missing[i]) & dir[i]);
|
||||
left->set_num_valid(vi, n1 - nr1);
|
||||
right->set_num_valid(vi, nr1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user