mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
fix: Increased the precision at which two observables are considered to
be equal.
This commit is contained in:
parent
e21e2d1904
commit
2a02020a71
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ class Obs:
|
|||
"""
|
||||
return self.is_zero() or np.abs(self.value) <= sigma * self._dvalue
|
||||
|
||||
def is_zero(self, rtol=1.e-5, atol=1.e-8):
|
||||
def is_zero(self, rtol=1e-14, atol=1e-10):
|
||||
"""Checks whether the observable is zero within a given tolerance.
|
||||
|
||||
Parameters
|
||||
|
|
Loading…
Add table
Reference in a new issue