Changeset 14053


Ignore:
Timestamp:
11/29/12 09:45:40 (12 years ago)
Author:
Mathieu Morlighem
Message:

BUG: temporary fix of bug in options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/Krigingx/Krigingx.cpp

    r14051 r14053  
    2222        /*Intermediaries*/
    2323        int           mindata,maxdata;
     24        double        dmindata,dmaxdata; //FIXME (Options come as double but we want to retrive integers)
    2425        double        radius;
    2526        char         *output       = NULL;
     
    3738        ProcessVariogram(&variogram,options);
    3839        options->Get(&radius,"searchradius",0.);
    39         options->Get(&mindata,"mindata",1);
    40         options->Get(&maxdata,"maxdata",50);
     40        options->Get(&dmindata,"mindata",1.);  mindata=int(dmindata);//FIXME (Options come as double but we want to retrive integers)
     41        options->Get(&dmaxdata,"maxdata",50.); maxdata=int(dmaxdata);//FIXME (Options come as double but we want to retrive integers)
    4142
    4243        /*Process observation dataset*/
Note: See TracChangeset for help on using the changeset viewer.