From 9a6c6c6f6a90b7dab95041486a641f96e6c14660 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Fri, 16 Apr 2021 10:43:44 +0200
Subject: [PATCH] Fixed warning in NewtonRaphson.h

---
 NumLib/NewtonRaphson.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/NumLib/NewtonRaphson.h b/NumLib/NewtonRaphson.h
index f3c86a44b2c..4ef3f0473af 100644
--- a/NumLib/NewtonRaphson.h
+++ b/NumLib/NewtonRaphson.h
@@ -17,7 +17,6 @@
 
 namespace NumLib
 {
-
 struct NewtonRaphsonSolverParameters
 {
     int maximum_iterations;
@@ -101,7 +100,7 @@ public:
                 "residual: "
                 "{:g}",
                 iteration - 1, increment.norm(), residual.norm());
-            return {};
+            return std::nullopt;
         }
 
         return iteration;
-- 
GitLab