Changeset 15514


Ignore:
Timestamp:
07/18/13 15:11:18 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: we need to take into account M or N=0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/matlab/io/FetchMatlabData.cpp

    r15506 r15514  
    269269
    270270        /*Check that it is a vector*/
    271         if(M!=1 && N!=1){
     271        if(M*N>0 && (M!=1 && N!=1)){
    272272                _error_("input vector of size " << M << "x" << N << " should have only one column");
    273273        }
Note: See TracChangeset for help on using the changeset viewer.