source: issm/oecreview/Archive/23390-24306/ISSM-23923-23924.diff@ 24307

Last change on this file since 24307 was 24307, checked in by Mathieu Morlighem, 5 years ago

NEW: adding Archive/23390-24306

File size: 661 bytes
RevLine 
[24307]1Index: ../trunk-jpl/src/c/solutionsequences/solutionsequence_schurcg.cpp
2===================================================================
3--- ../trunk-jpl/src/c/solutionsequences/solutionsequence_schurcg.cpp (revision 23923)
4+++ ../trunk-jpl/src/c/solutionsequences/solutionsequence_schurcg.cpp (revision 23924)
5@@ -731,7 +731,11 @@
6 Reduceloadx(pf, Kfs, ys); delete Kfs;
7
8 /*Create pressure matrix of choice*/
9+ #if _PETSC_MINOR_<7
10+ PetscOptionsGetInt(PETSC_NULL,"-schur_pc",&precond,NULL);
11+ #else
12 PetscOptionsGetInt(NULL,PETSC_NULL,"-schur_pc",&precond,NULL);
13+ #endif
14
15 StressbalanceAnalysis* analysis = new StressbalanceAnalysis();
16
Note: See TracBrowser for help on using the repository browser.