Changeset 25634


Ignore:
Timestamp:
10/06/20 10:06:22 (4 years ago)
Author:
Mathieu Morlighem
Message:

CHG: compatibility with PETSc 3.14

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/Params/Parameters.cpp ΒΆ

    r25524 r25634  
    688688                /*In case we are using PETSC, we do not rely on issmoptions. Instead, we dump issmoptions into the Petsc
    689689                 * options database: */
     690                #if (_PETSC_MINOR_<14)
     691                PetscOptionsSetFromOptions(NULL);
     692                #endif
    690693                #if (_PETSC_MINOR_>=7)
    691                 PetscOptionsSetFromOptions(NULL);
    692694                PetscOptionsClear(NULL);
    693695                int ierr = PetscOptionsInsertString(NULL,options);
Note: See TracChangeset for help on using the changeset viewer.