Changeset 24631
- Timestamp:
- 03/03/20 13:24:04 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r24626 r24631 570 570 parameters->FindParam(&time_temp_scaled,&N,SmbTemperaturesReconstructedYearsEnum); 571 571 if(!binary_search(&offset_t,time_climt,time_temp_scaled,N)) _error_("time not sorted?"); 572 if(offset_t<0) offset_t=0; 572 573 xDelete<IssmDouble>(time_temp_scaled); 573 574 dinput3=this->GetDatasetInput2(SmbTemperaturesReconstructedEnum); _assert_(dinput3); … … 576 577 IssmDouble* time_precip_scaled = NULL; 577 578 parameters->FindParam(&time_precip_scaled,&N,SmbPrecipitationsReconstructedYearsEnum); 578 if(!binary_search(&offset_t,time_climt,time_precip_scaled,N)) _error_("time not sorted?"); 579 if(!binary_search(&offset_p,time_climt,time_precip_scaled,N)) _error_("time not sorted?"); 580 if(offset_p<0) offset_p=0; 579 581 xDelete<IssmDouble>(time_precip_scaled); 580 582 dinput4=this->GetDatasetInput2(SmbPrecipitationsReconstructedEnum); _assert_(dinput4);
Note:
See TracChangeset
for help on using the changeset viewer.