Skip to content
Snippets Groups Projects
Verified Commit 9a6c6c6f authored by Lars Bilke's avatar Lars Bilke
Browse files

Fixed warning in NewtonRaphson.h

parent 8e6d038f
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,6 @@ ...@@ -17,7 +17,6 @@
namespace NumLib namespace NumLib
{ {
struct NewtonRaphsonSolverParameters struct NewtonRaphsonSolverParameters
{ {
int maximum_iterations; int maximum_iterations;
...@@ -101,7 +100,7 @@ public: ...@@ -101,7 +100,7 @@ public:
"residual: " "residual: "
"{:g}", "{:g}",
iteration - 1, increment.norm(), residual.norm()); iteration - 1, increment.norm(), residual.norm());
return {}; return std::nullopt;
} }
return iteration; return iteration;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment