Commit e389878a authored by Martin Reinecke's avatar Martin Reinecke

cosmetics

parent 78c4a95c
Pipeline #27943 passed with stage
in 1 minute and 40 seconds
......@@ -78,7 +78,7 @@ class Yango(Minimizer):
logger.warning(
"Warning: gradient norm 0, assuming convergence!")
return energy, controller.CONVERGED
det = pAp*rAr-np.abs((rAp)*(pAr))
det = pAp*rAr-np.abs(rAp*pAr)
if det < 0:
logger.error(
"Error: negative determinant ({})".format(det))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment