Skip to content

Commit

Permalink
[arcane,aleph] Corrige version de PETSc pour savoir si PETSC_SUCCESS …
Browse files Browse the repository at this point in the history
…est disponible.

Ce n'est disponible qu'à partir de la version 3.19.0 et pas 3.18.
  • Loading branch information
grospelliergilles committed Jul 7, 2023
1 parent 6e43c52 commit be9c936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arcane/src/arcane/aleph/petsc/AlephPETSc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ petscCheck(PetscErrorCode error_code)
// Note GG: Je ne sais pas vraiment à partir de quelle version de PETSc
// la valeur 'PETSC_SUCCESS' la fonction 'PetscCallVoid' sont
// disponibles mais elles le sont dans la 3.18.0.
#if PETSC_VERSION_GE(3,18,0)
#if PETSC_VERSION_GE(3,19,0)
if (error_code==PETSC_SUCCESS)
return;
PetscCallVoid(error_code);
Expand Down

0 comments on commit be9c936

Please sign in to comment.