Skip to content
Snippets Groups Projects
Commit 459f4de5 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile

parent c7af26c0
No related branches found
No related tags found
No related merge requests found
...@@ -780,11 +780,13 @@ void discreteFace::complex_crossField() ...@@ -780,11 +780,13 @@ void discreteFace::complex_crossField()
#ifdef HAVE_PETSC #ifdef HAVE_PETSC
#ifdef PETSC_USE_COMPLEX #ifdef PETSC_USE_COMPLEX
lsys = new linearSystemPETSc<std::complex<double> >; lsys = new linearSystemPETSc<std::complex<double> >;
#esle #else
Msg::Fatal("Petsc complex is required (we do need complex in discreteFace::complex_crossField())"); Msg::Error("Petsc complex is required (we do need complex in discreteFace::complex_crossField())");
return;
#endif #endif
#else #else
Msg::Fatal("Petsc is required (we do need complex in discreteFace::crossField())"); Msg::Error("Petsc is required (we do need complex in discreteFace::crossField())");
return;
#endif #endif
std::complex<double> i1(0,1); std::complex<double> i1(0,1);
dofManager<std::complex<double> > myAssembler(lsys); dofManager<std::complex<double> > myAssembler(lsys);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment