Browse Source

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

Frank Prüfer 11 năm trước cách đây
mục cha
commit
361096e2e0
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  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++)