Changeset 416

Show
Ignore:
Timestamp:
07/15/09 16:21:22 (15 years ago)
Author:
vbarta
Message:

fixed typo (bitwise to logical or and and)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/user_info.cpp

    r396 r416  
    298298        int rows = rows_setting; 
    299299 
    300         if ( cols < 0 | rows < 0 ) 
     300        if ( cols < 0 || rows < 0 ) 
    301301            throw UIException( "the dimensions of a matrix has to be non-negative", link.result ); 
    302302 
     
    339339                from_setting( matrix, link.result ); 
    340340 
    341         if ( matrix.cols() != 1 & matrix.rows() !=1) 
     341        if ( matrix.cols() != 1 && matrix.rows() !=1) 
    342342                        throw UIException( "the vector length is invalid, it seems to be rather a matrix", link.result ); 
    343343