Skip to content

Commit f371636

Browse files
committed
Fix: code inspection
1 parent 1527cba commit f371636

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uncertaintyx/fit/eiv/jax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def post(p: Array) -> tuple[Array, Array]:
254254
popt, cost, converged = opti(p)
255255
pcov, punc = post(popt)
256256

257-
return popt, pcov, punc, cost, converged.any()
257+
return popt, pcov, punc, cost, converged.item()
258258

259259

260260
class EIV(Fitting):

0 commit comments

Comments
 (0)