Explorar o código

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

Frank Prüfer %!s(int64=11) %!d(string=hai) anos
pai
achega
361096e2e0
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      core/vector/MatrixT.tcc

+ 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++)