Skip to content
Snippets Groups Projects
Commit c7af26c0 authored by Van Dung Nguyen's avatar Van Dung Nguyen
Browse files

fix compli with PETSC without PETSC_USE_COMPLEX

parent 07345522
Branches
Tags
No related merge requests found
......@@ -778,7 +778,11 @@ void discreteFace::complex_crossField()
linearSystem<std::complex<double> > * lsys;
#ifdef HAVE_PETSC
#ifdef PETSC_USE_COMPLEX
lsys = new linearSystemPETSc<std::complex<double> >;
#esle
Msg::Fatal("Petsc complex is required (we do need complex in discreteFace::complex_crossField())");
#endif
#else
Msg::Fatal("Petsc is required (we do need complex in discreteFace::crossField())");
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment