Skip to content

Commit

Permalink
CHG: added error message instead of just bypassing
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMorlighem committed Jul 22, 2024
1 parent 6fc2d49 commit 1aa4555
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/c/toolkits/objects/Vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ class Vector{
if(type==PetscVecType){
#ifdef _HAVE_PETSC_
vec_serial=this->pvector->ToMPISerial0();
#else
_error_("Cannot serialize PETSc Vec without PETSc");
#endif
}
else vec_serial=this->ivector->ToMPISerial0();
Expand Down

0 comments on commit 1aa4555

Please sign in to comment.