Changeset 20803


Ignore:
Timestamp:
06/24/16 09:53:22 (9 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixing compilation of AD with m1qn3

File:
1 edited

Legend:

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

    r19344 r20803  
    141141        femmodel->parameters->FindParam(&restartfilename,RestartFileNameEnum);
    142142
    143         femmodel=new FemModel(rootpath, inputfilename, outputfilename, toolkitsfilename, lockfilename, restartfilename, femmodel->comm, femmodel->solution_type,NULL);
     143        femmodel=new FemModel(rootpath, inputfilename, outputfilename, toolkitsfilename, lockfilename, restartfilename,IssmComm::GetComm(), femmodel->solution_type,NULL);
    144144
    145145       
     
    269269        femmodel->parameters->FindParam(&restartfilename,RestartFileNameEnum);
    270270
    271         femmodelad=new FemModel(rootpath, inputfilename, outputfilename, toolkitsfilename, lockfilename, restartfilename,femmodel->comm, femmodel->solution_type,X);
     271        femmodelad=new FemModel(rootpath, inputfilename, outputfilename, toolkitsfilename, lockfilename, restartfilename,IssmComm::GetComm(), femmodel->solution_type,X);
    272272        femmodel=femmodelad; //We can do this, because femmodel is being called from outside, not by reference, so we won't erase it
    273273       
Note: See TracChangeset for help on using the changeset viewer.