Эх сурвалжийг харах

bug fix: in method MatrixT::setRow removed unneccesary warning

Frank Prüfer 11 жил өмнө
parent
commit
361096e2e0

+ 0 - 5
core/vector/MatrixT.tcc

@@ -426,11 +426,6 @@ MatrixT<ElementType>::operator _Op##= (const MatrixT<ElementType>& v) {   \
     {
       _THROW_EMatrix("Matrix setRow: row does not specify a proper row index.");
     }
-
-    if ( cols() > v.size() )
-    {
-      cerr<<"Warning: Matrix setRow: row is longer than vector."<<endl;
-    }
     
     // FIXME use IPP?
     for (unsigned int j = 0; j < v.size(); j++)