fixed cvPreprocessIndexArray (ticket #517)
This commit is contained in:
@@ -431,8 +431,8 @@ cvPreprocessIndexArray( const CvMat* idx_arr, int data_arr_size, bool check_for_
|
|||||||
if( idx_selected == 0 )
|
if( idx_selected == 0 )
|
||||||
CV_ERROR( CV_StsOutOfRange, "No components/input_variables is selected!" );
|
CV_ERROR( CV_StsOutOfRange, "No components/input_variables is selected!" );
|
||||||
|
|
||||||
if( idx_selected == idx_total )
|
//if( idx_selected == idx_total )
|
||||||
EXIT;
|
// EXIT;
|
||||||
break;
|
break;
|
||||||
case CV_32SC1:
|
case CV_32SC1:
|
||||||
// idx_arr is array of integer indices of selected components
|
// idx_arr is array of integer indices of selected components
|
||||||
|
Reference in New Issue
Block a user