Commit a7552dcc authored by Guillaume Demesy's avatar Guillaume Demesy

should now work with nightly build versions of slepc

parent 0a564b6e
Pipeline #2005 passed with stage
in 56 seconds
......@@ -794,9 +794,9 @@ static void _nonlinearEVP(struct DofData * DofData_P, int numEigenValues,
double shift_r, double shift_i, int filterExpressionIndex,
List_T *RationalCoefsNum, List_T *RationalCoefsDen)
{
#if (PETSC_VERSION_RELEASE != 0)
Message::Error("You need PETSc/SLEPc dev for nonlinear EVP support!");
#else
// #if (PETSC_VERSION_RELEASE != 0)
// Message::Error("You need PETSc/SLEPc dev for nonlinear EVP support!");
// #else
NEP nep;
NEPType type;
int max_Nchar = 1000;
......@@ -992,7 +992,7 @@ static void _nonlinearEVP(struct DofData * DofData_P, int numEigenValues,
_storeEigenVectors(DofData_P, nconv, PETSC_NULL, PETSC_NULL, nep, filterExpressionIndex);
_try(NEPDestroy(&nep));
#endif
// #endif
}
void EigenSolve_SLEPC(struct DofData * DofData_P, int numEigenValues,
......
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