Changeset 21920
- Timestamp:
- 08/09/17 11:55:56 (8 years ago)
- Location:
- issm/trunk-jpl/src/c/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r21919 r21920 555 555 556 556 offset=dynamic_cast<TransientInput*>(input)->GetTimeInputOffset(time_yr); 557 if (fmod(offset,12 )!=1){558 time_clim=floor(dynamic_cast<TransientInput*>(input)->GetTimeByOffset(offset-fmod(offset,12 )+1)/yts)*yts;557 if (fmod(offset,12.)!=1){ 558 time_clim=floor(dynamic_cast<TransientInput*>(input)->GetTimeByOffset(offset-fmod(offset,12.)+1)/yts)*yts; 559 559 } 560 560 -
issm/trunk-jpl/src/c/classes/Inputs/TransientInput.cpp
r21917 r21920 264 264 265 265 if (offset < 0) offset=0; 266 _assert_( this->timesteps[offset]);266 _assert_(offset<this->numtimesteps); 267 267 268 268 return this->timesteps[offset];
Note:
See TracChangeset
for help on using the changeset viewer.