Ignore:
Timestamp:
08/16/12 18:30:40 (13 years ago)
Author:
Eric.Larour
Message:

CHG: extended rest of the code (except for kriging code) to use IssmDouble
and IssmPDouble active and passive types, for use with AD type constructs (using
ADOLC or ADIC in the future).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Container/Observations.cpp

    r13056 r13073  
    6464                options->Get(&minlength,"boxlength");
    6565                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));
    6767        }
    6868        else{
Note: See TracChangeset for help on using the changeset viewer.