Changeset 12228


Ignore:
Timestamp:
05/09/12 19:27:07 (13 years ago)
Author:
Eric.Larour
Message:

Removed ambiguity in call to log(2)

File:
1 edited

Legend:

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

    r12226 r12228  
    5656                options->Get(&minlength,"boxlength");
    5757                if(minlength<=0)_error_("boxlength should be a positive number");
    58                 maxdepth=int(log(max(xmax-xmin,ymax-ymin)/minlength +1)/log(2));
     58                maxdepth=int(log(max(xmax-xmin,ymax-ymin)/minlength +1)/log(2.0));
    5959        }
    6060        else{
Note: See TracChangeset for help on using the changeset viewer.