mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
test_fits fixed
This commit is contained in:
parent
355a27d95a
commit
112890c9d2
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def test_odr_fit():
|
|||
|
||||
data = RealData([o.value for o in ox], [o.value for o in oy], sx=[o.dvalue for o in ox], sy=[o.dvalue for o in oy])
|
||||
model = Model(func)
|
||||
odr = ODR(data, model, [0,0], partol=np.finfo(np.float).eps)
|
||||
odr = ODR(data, model, [0,0], partol=np.finfo(np.float64).eps)
|
||||
odr.set_job(fit_type=0, deriv=1)
|
||||
output = odr.run()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue