Changeset 19225


Ignore:
Timestamp:
03/26/15 11:24:27 (10 years ago)
Author:
schlegel
Message:

BUG: Garbage was being added to monthlytemperatures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Elements/ComputeD18OTemperaturePrecipitationFromPD.cpp

    r19173 r19225  
    2222  for (int imonth = 0; imonth<12; imonth++){
    2323   
    24     monthlytemperaturesout[imonth] = TemperaturePresentday[imonth] + deltaTemp;
    25     monthlyprecout[imonth] = PrecipitationPresentday[imonth]*exp((0.169/dpermil)*deltaTemp);
     24    monthlytemperaturestmp[imonth] = TemperaturePresentday[imonth] + deltaTemp;
     25    monthlyprectmp[imonth] = PrecipitationPresentday[imonth]*exp((0.169/dpermil)*deltaTemp);
    2626   
    2727    /*Assign output pointer*/
Note: See TracChangeset for help on using the changeset viewer.