Changeset 19192


Ignore:
Timestamp:
03/09/15 14:00:35 (10 years ago)
Author:
Eric.Larour
Message:

CHG: shielding case where restart_frequency is 0, which segfaults the "%" operation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/transient_core.cpp

    r19191 r19192  
    181181                        OutputResultsx(femmodel);
    182182                }
    183                 if(step%restart_frequency==0 )femmodel->CheckPoint();
     183                if(restart_frequency && step%restart_frequency==0)femmodel->CheckPoint();
    184184        }
    185185
Note: See TracChangeset for help on using the changeset viewer.