- Timestamp:
- 08/20/12 17:39:30 (13 years ago)
- Location:
- issm/branches/trunk-jpl-damage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage
- Property svn:ignore
-
old new 1 projects 1 2 autom4te.cache 2 3 aclocal.m4
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 12948-13099
- Property svn:ignore
-
issm/branches/trunk-jpl-damage/src/c/Container/Observations.cpp
r12946 r13101 58 58 options->Get(&maxtrimming,"maxtrimming",+1.e+21); 59 59 options->Get(&minspacing,"minspacing",0.01); 60 if(minspacing<=0) _error 2_("minspacing must > 0");60 if(minspacing<=0) _error_("minspacing must > 0"); 61 61 62 62 /*Get Minimum box size*/ 63 63 if(options->GetOption("boxlength")){ 64 64 options->Get(&minlength,"boxlength"); 65 if(minlength<=0)_error 2_("boxlength should be a positive number");66 maxdepth= int(log(max(xmax-xmin,ymax-ymin)/minlength +1)/log(2.0));65 if(minlength<=0)_error_("boxlength should be a positive number"); 66 maxdepth=reCast<int,IssmDouble>(log(max(xmax-xmin,ymax-ymin)/minlength +1)/log(2.0)); 67 67 } 68 68 else{ … … 383 383 SolverxSeq(&GinvZ, Gamma,obs,n_obs); // Gamma^-1 Z 384 384 #else 385 _error 2_("GSL is required");385 _error_("GSL is required"); 386 386 #endif 387 387
Note:
See TracChangeset
for help on using the changeset viewer.