Skip to content
Snippets Groups Projects
Commit d02387a2 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Only include the Riemannian Proximal Newton Solver for dune-solvers >= 2.8

parent 4397ee54
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,9 @@
#include <dune/gfe/mixedriemanniantrsolver.hh>
#else
#include <dune/gfe/geodesicfeassemblerwrapper.hh>
#if DUNE_VERSION_GTE(DUNE_SOLVERS, 2, 8)
#include <dune/gfe/riemannianpnsolver.hh>
#endif
#include <dune/gfe/riemanniantrsolver.hh>
#include <dune/gfe/rigidbodymotion.hh>
#endif
......@@ -575,7 +577,7 @@ int main (int argc, char *argv[]) try
solver.solve();
xTargetSpace = solver.getSol();
} else { //parameterSet.get<std::string>("solvertype") == "proximalNewton"
#if DUNE_VERSION_LT(DUNE_COMMON, 2, 8)
#if DUNE_VERSION_LT(DUNE_SOLVERS, 2, 8)
DUNE_THROW(Exception, "Please install dune-solvers >= 2.8 to use the Proximal Newton Solver with Cholmod!");
#else
RiemannianProximalNewtonSolver<DeformationFEBasis, TargetSpace> solver;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment