Hi Lorenzo, I found this error message on my calculations:
"sscha/Ensemble.py:1670: RuntimeWarning: invalid value encountered in sqrt
err = np.sqrt( (f2 - force**2) / np.sum(self.rho) )"
This comes from the line 1670 of Ensemble.py:
if get_error:f2 = np.einsum("i, iab ->ab", self.rho, (eforces)**2) / np.sum(self.rho)err = np.sqrt( (f2 - force**2) / np.sum(self.rho) )return force, err
How can be it possible?
A negative rho?, f2 < force**2?
Hi Lorenzo, I found this error message on my calculations: "sscha/Ensemble.py:1670: RuntimeWarning: invalid value encountered in sqrt err = np.sqrt( (f2 - force**2) / np.sum(self.rho) )"
This comes from the line 1670 of Ensemble.py:
if get_error:
f2 = np.einsum("i, iab ->ab", self.rho, (eforces)**2) / np.sum(self.rho)
err = np.sqrt( (f2 - force**2) / np.sum(self.rho) )
return force, err
How can be it possible? A negative rho?, f2 < force**2?