- Timestamp:
- 07/15/09 16:21:22 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/user_info.cpp
r396 r416 298 298 int rows = rows_setting; 299 299 300 if ( cols < 0 | rows < 0 )300 if ( cols < 0 || rows < 0 ) 301 301 throw UIException( "the dimensions of a matrix has to be non-negative", link.result ); 302 302 … … 339 339 from_setting( matrix, link.result ); 340 340 341 if ( matrix.cols() != 1 & matrix.rows() !=1)341 if ( matrix.cols() != 1 && matrix.rows() !=1) 342 342 throw UIException( "the vector length is invalid, it seems to be rather a matrix", link.result ); 343 343