mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
1. fix warning from Xcode 7.x
2. fixed parsing of "cat[range_spec]ord[range_spec]" type specification string when using ml::TrainData::loadFromCSV(). Thanks to A. Kaehler for reporting it
This commit is contained in:
@@ -747,9 +747,6 @@ public:
|
||||
}
|
||||
}
|
||||
while(*stopstring != ']');
|
||||
|
||||
if( stopstring[1] != '\0' && stopstring[1] != ',')
|
||||
CV_Error( CV_StsBadArg, errmsg );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user