Changeset 22137


Ignore:
Timestamp:
10/05/17 11:37:51 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed misfit issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Misfit.h

    r22135 r22137  
    167167
    168168                                 /*What we return is the value of misfit / time if transient*/
    169                                  if(time!=0) misfit = misfit/(time-starttime);
    170 
     169                                 if(time!=0.) return misfit/(time-starttime);
    171170                                 return misfit;
    172171                         } /*}}}*/
Note: See TracChangeset for help on using the changeset viewer.