From cd0f8789134e123d7127bc04560412ab740ccfe2 Mon Sep 17 00:00:00 2001 From: murfalo <899362+murfalo@users.noreply.github.com> Date: Wed, 26 Jun 2024 19:23:05 -0400 Subject: [PATCH] Bugfixed AtomType equality operator (#1360) --- parmed/topologyobjects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parmed/topologyobjects.py b/parmed/topologyobjects.py index 67251c6e..78e849b2 100644 --- a/parmed/topologyobjects.py +++ b/parmed/topologyobjects.py @@ -5183,7 +5183,7 @@ def __eq__(self, other): if self.charge is not other.charge: return False elif abs(self.charge - other.charge) > TINY: - return True + return False # At this point, we have all the attributes we need to compare return (abs(self.epsilon - other.epsilon) < TINY and abs(self.rmin - other.rmin) < TINY and