Index: ../trunk-jpl/src/c/classes/Elements/Tria.cpp =================================================================== --- ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 26275) +++ ../trunk-jpl/src/c/classes/Elements/Tria.cpp (revision 26276) @@ -6136,7 +6136,7 @@ bool computeviscous = false; int horiz; bool istime=true; - IssmDouble timeacc=0; + IssmDouble timeacc=0.; IssmDouble start_time,final_time; int nt,precomputednt; @@ -6211,7 +6211,7 @@ this->parameters->FindParam(&timeacc,SolidearthSettingsTimeAccEnum); this->parameters->FindParam(&start_time,TimesteppingStartTimeEnum); this->parameters->FindParam(&final_time,TimesteppingFinalTimeEnum); - nt=reCast((final_time-start_time)/timeacc)+1; + nt=reCast((final_time-start_time)/timeacc)+1; } else{ nt=1; //in elastic, or if we run only rigid, we need only one step @@ -6820,7 +6820,7 @@ this->parameters->FindParam(&timeacc,SolidearthSettingsTimeAccEnum); this->parameters->FindParam(&start_time,TimesteppingStartTimeEnum); this->parameters->FindParam(&final_time,TimesteppingFinalTimeEnum); - nt=reCast((final_time-start_time)/timeacc)+1; + nt=reCast((final_time-start_time)/timeacc)+1; } else{ nt=1; //in elastic, or if we run only rigid, we need only one step