Selaa lähdekoodia

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

Frank Prüfer 11 vuotta sitten
vanhempi
commit
361096e2e0
1 muutettua tiedostoa jossa 0 lisäystä ja 5 poistoa
  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++)