Changeset 27738


Ignore:
Timestamp:
05/10/23 13:23:22 (2 years ago)
Author:
Mathieu Morlighem
Message:

CHG: trying to recast variable to make ADOLC happy

File:
1 edited

Legend:

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

    r27737 r27738  
    433433                m0= 0.5*(z[iz1+1]-z[iz1])*((hc-hb)/(z[iz1+1]-z[iz1]) + (hb-ha)/(z[iz1]-za));
    434434                //right derivative
    435                 m1= 0.5*(z[iz1+1]-z[iz1])*((hd-hc)/(zd-z[iz1+1]) + (hc-hb)/(z[iz1+1]-z[iz1]));
     435                m1= 0.5*(z[iz1+1]-z[iz1])*((hd-hc)/(zd-z[iz1+1]) + (hc-hb)/reCast<doubletype>(z[iz1+1]-z[iz1]));
    436436
    437437                //interpolation abscissa
Note: See TracChangeset for help on using the changeset viewer.