Changeset 20938


Ignore:
Timestamp:
07/18/16 16:47:00 (9 years ago)
Author:
Mathieu Morlighem
Message:

CHG: adding tag number in error message

File:
1 edited

Legend:

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

    r20810 r20938  
    100100        _assert_(inittag>=0);
    101101        _assert_(inittag<MAXIMUMSIZE);
    102         if(xIsNan<IssmDouble>(this->time[inittag])) _error_("Tag not set");
     102        if(xIsNan<IssmDouble>(this->time[inittag])) _error_("Tag "<<inittag<<" not set");
    103103        IssmDouble init = this->time[inittag];
    104104
     
    106106        _assert_(finaltag>=0);
    107107        _assert_(finaltag<MAXIMUMSIZE);
    108         if(xIsNan<IssmDouble>(this->time[finaltag])) _error_("Tag not set");
     108        if(xIsNan<IssmDouble>(this->time[finaltag])) _error_("Tag "<<finaltag<<" not set");
    109109        IssmDouble final = this->time[finaltag];
    110110
Note: See TracChangeset for help on using the changeset viewer.