fixed assert() in BruteForceMatcher<Distance>::matchImpl()

pull/13383/head
Maria Dimashova 15 years ago
parent 48e4f66ccf
commit ab8861fa10
  1. 2
      modules/features2d/include/opencv2/features2d/features2d.hpp

@ -1650,7 +1650,7 @@ void BruteForceMatcher<Distance>::matchImpl( const Mat& descriptors_1, const Mat
assert( mask.empty() || (mask.rows == descriptors_1.rows && mask.cols == descriptors_2.rows) );
assert( descriptors_1.cols == descriptors_2.cols );
assert( descriptors_1.cols == descriptors_2.cols || descriptors_1.empty() || descriptors_2.empty() );
assert( DataType<ValueType>::type == descriptors_1.type() || descriptors_1.empty() );
assert( DataType<ValueType>::type == descriptors_2.type() || descriptors_2.empty() );

Loading…
Cancel
Save