diff --git a/Common/LuaBindings.cpp b/Common/LuaBindings.cpp index 7a43a4572cdeb9f752c88d79b6aec2dc7d841448..9af49dc8264a8f83cfbd92fbc4bebbec900a61d9 100644 --- a/Common/LuaBindings.cpp +++ b/Common/LuaBindings.cpp @@ -28,7 +28,6 @@ #include "GModel.h" #include "Bindings.h" #include "GmshMessage.h" -#include "linearSystem.h" #include "Options.h" #include "polynomialBasis.h" #include "Gauss.h" @@ -39,6 +38,7 @@ #if defined(HAVE_SOLVER) #include "elasticitySolver.h" +#include "linearSystem.h" #include "linearSystemCSR.h" #endif @@ -414,11 +414,11 @@ binding::binding() fullMatrix<double>::registerBindings(this); gmshOptions::registerBindings(this); Msg::registerBindings(this); - linearSystem<double>::registerBindings(this); polynomialBasis::registerBindings(this); gaussIntegration::registerBindings(this); #if defined(HAVE_SOLVER) function::registerBindings(this); + linearSystem<double>::registerBindings(this); linearSystemCSRGmm<double>::registerBindings(this); elasticitySolverRegisterBindings(this); #endif