New test for matrix inverse with matrix containing floats r integers

This commit is contained in:
Fabian Joswig 2021-10-17 12:45:30 +01:00
parent 10b228d434
commit 15333d2629
2 changed files with 13 additions and 1 deletions

View file

@ -345,7 +345,7 @@ class Obs:
return np.abs(self.value) <= self.dvalue
def is_zero(self):
np.isclose(0.0, self.value) and all(np.allclose(0.0, delta) for delta in self.deltas.values())
return np.isclose(0.0, self.value) and all(np.allclose(0.0, delta) for delta in self.deltas.values())
def plot_tauint(self, save=None):
"""Plot integrated autocorrelation time for each ensemble."""