We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5c8cbe commit c8c0d6aCopy full SHA for c8c0d6a
ikarus/solver/nonlinearsolver/newtonraphson.hh
@@ -165,7 +165,7 @@ public:
165
nonLinearOperator().updateAll();
166
const auto& rx = nonLinearOperator().value();
167
const auto& Ax = nonLinearOperator().derivative();
168
- auto rNorm = norm(rx);
+ decltype(norm(rx)) rNorm = 1;
169
decltype(rNorm) dNorm;
170
int iter{0};
171
if constexpr (isLinearSolver)
0 commit comments