Changeset 22610


Ignore:
Timestamp:
03/22/18 15:06:17 (7 years ago)
Author:
erobo
Message:

CHG: allow m1qn3/adolc to work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/ad_core.cpp

    r22438 r22610  
    2626        int     num_dependents=0;
    2727        int     num_independents=0;
    28         bool    isautodiff       = false;
     28        bool    isautodiff,iscontrol;
    2929        char   *driver           = NULL;
    3030        size_t  tape_stats[15];
     
    3737        /*AD mode on?: */
    3838        femmodel->parameters->FindParam(&isautodiff,AutodiffIsautodiffEnum);
    39 
    40         if(isautodiff){
     39        femmodel->parameters->FindParam(&iscontrol,InversionIscontrolEnum);
     40
     41        if(isautodiff && !iscontrol){
    4142
    4243                #ifdef _HAVE_ADOLC_
Note: See TracChangeset for help on using the changeset viewer.