Changeset 23580


Ignore:
Timestamp:
12/28/18 13:35:12 (6 years ago)
Author:
Mathieu Morlighem
Message:

BUG: reverting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/IoModel.cpp

    r23579 r23580  
    454454
    455455        /*Initialize array detecting whether data[i] is an independent AD mode variable: */
    456         this->FindConstant(&autodiff,"md.autodiff.isautodiff");
    457         this->FindConstant(&iscontrol,"md.inversion.iscontrol");
     456        this->FetchData(&autodiff,"md.autodiff.isautodiff");
     457        this->FetchData(&iscontrol,"md.inversion.iscontrol");
    458458
    459459        if(trace || (autodiff && !iscontrol)){
     
    25372537                _error_("Cannot fetch \""<<data_name<<"\" does not start with \""<<mddot<<"\"");
    25382538        }
    2539         if(fid==NULL){
    2540                 _error_("Cannot fetch \""<<data_name<<"\": file pointer invalid ");
    2541         }
    25422539
    25432540        /*Go find in the binary file, the position of the data we want to fetch: */
Note: See TracChangeset for help on using the changeset viewer.