Commit 955e789c authored by Guillaume Demesy's avatar Guillaume Demesy

fix PETSC_VERSION

parent 64179c04
......@@ -1044,7 +1044,10 @@ void EigenSolve_SLEPC(struct DofData * DofData_P, int numEigenValues,
}
else{
#if defined(PETSC_USE_COMPLEX)
#if (PETSC_VERSION_MAJOR == 3) && (PETSC_VERSION_MINOR < 7)
Message::Error("Please upgrade to slepc >= 3.7.3 for non-linear EVP support!");
return;
#else
_nonlinearEVP(DofData_P, numEigenValues, shift_r, shift_i,
FilterExpressionIndex, RationalCoefsNum, RationalCoefsDen);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment