[NumCS] Fix error

This commit is contained in:
janishutz committed 2026-01-11 15:26:11 +01:00
1 parent f0c472bb87
commit 601218e590
2 files changed
+1 -1

No files matched your search

Binary file not shown.
@@ -22,7 +22,7 @@ def newton(x, F, DF, tol=1e-12, maxit=50):
for _ in range(maxit):
s = np.linal.solve(DF(x), F(x))
x -= s
if np.linalgnorm(s) < tol * np.linalg.norm(x):
if np.linalg.norm(s) < tol * np.linalg.norm(x):
return x
\end{code}