Skip to content

Commit c8c0d6a

Browse files
committed
fix?
1 parent c5c8cbe commit c8c0d6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ikarus/solver/nonlinearsolver/newtonraphson.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public:
165165
nonLinearOperator().updateAll();
166166
const auto& rx = nonLinearOperator().value();
167167
const auto& Ax = nonLinearOperator().derivative();
168-
auto rNorm = norm(rx);
168+
decltype(norm(rx)) rNorm = 1;
169169
decltype(rNorm) dNorm;
170170
int iter{0};
171171
if constexpr (isLinearSolver)

0 commit comments

Comments
 (0)