Changeset 23319


Ignore:
Timestamp:
09/19/18 12:43:50 (7 years ago)
Author:
Mathieu Morlighem
Message:

CHG: improved error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/IoModel.cpp

    r23255 r23319  
    25112511        /*recover my_rank:*/
    25122512        my_rank=IssmComm::GetRank();
    2513         _assert_(strncmp(data_name,mddot,3)==0);
     2513        if(strncmp(data_name,mddot,3)!=0){
     2514                _error_("Cannot fetch \""<<data_name<<"\" does not start with \""<<mddot<<"\"");
     2515        }
    25142516
    25152517        /*Go find in the binary file, the position of the data we want to fetch: */
Note: See TracChangeset for help on using the changeset viewer.