Changeset 20053


Ignore:
Timestamp:
02/02/16 19:13:27 (9 years ago)
Author:
Eric.Larour
Message:

CHG: recast of a specific value.

File:
1 edited

Legend:

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

    r20037 r20053  
    36273627                        //Elastic component  (from Eq 17 in Adhikari et al, GMD 2015)
    36283628                        if(computeelastic){
    3629                                 int index=reCast<int,IssmDouble>(alpha/PI*(M-1));
     3629                                int index=reCast<int,IssmDouble>(alpha/PI*reCast<IssmDouble,int>(M-1));
    36303630                                G_elastic += G_elastic_precomputed[index];
    36313631                        }
Note: See TracChangeset for help on using the changeset viewer.