Changeset 19496


Ignore:
Timestamp:
08/14/15 16:29:12 (10 years ago)
Author:
glperez
Message:

BUG: Minor order change to make sure fix for test3015 does not blow up non AD builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/Autodiff/CreateParametersAutodiff.cpp

    r19495 r19496  
    3030        iomodel->Constant(&autodiff_analysis,AutodiffIsautodiffEnum);
    3131
     32        #ifdef _HAVE_ADOLC_
    3233                /*initialize a placeholder to store solver pointers: {{{*/
    3334                GenericParam<Adolc_edf> *theAdolcEDF_p=new GenericParam<Adolc_edf>(AdolcParamEnum);
     
    7071                xDelete<char>(options);
    7172                /*}}}*/
     73
    7274        if(autodiff_analysis){
    73 
    74         #ifdef _HAVE_ADOLC_
    75 
    7675                /*Copy some parameters from IoModel to parameters dataset: {{{*/
    7776                parameters->AddObject(iomodel->CopyConstantObject(AutodiffKeepEnum));
Note: See TracChangeset for help on using the changeset viewer.