Changeset 13073 for issm/trunk-jpl/src/c/Container/Observations.cpp
- Timestamp:
- 08/16/12 18:30:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/Container/Observations.cpp
r13056 r13073 64 64 options->Get(&minlength,"boxlength"); 65 65 if(minlength<=0)_error_("boxlength should be a positive number"); 66 maxdepth= int(log(max(xmax-xmin,ymax-ymin)/minlength +1)/log(2.0));66 maxdepth=reCast<int,IssmDouble>(log(max(xmax-xmin,ymax-ymin)/minlength +1)/log(2.0)); 67 67 } 68 68 else{
Note:
See TracChangeset
for help on using the changeset viewer.