Skip to content

Commit

Permalink
improved coverage, thanks to Max Hansen
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruno46 committed Feb 4, 2022
1 parent 6bece0c commit ef44349
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/optimize/mfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@
[v, e] = pars[1].error()
assert abs(m-v) < e

# extrapolate value at zero
# extrapolate to zero
[yobs] = fit.eval(0.0,pars)

[v, e] = yobs.error()
assert abs(a-v) < e

# evaluate at several points
yobs = fit.eval(numpy.arange(0.0,T,0.1), pars)

0 comments on commit ef44349

Please sign in to comment.