[NumCS] Fix error

This commit is contained in:
2026-01-11 15:26:11 +01:00
parent f0c472bb87
commit 601218e590
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -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}