diff --git a/custodian/vasp/handlers.py b/custodian/vasp/handlers.py index 0d90b3b0..2dd68f75 100644 --- a/custodian/vasp/handlers.py +++ b/custodian/vasp/handlers.py @@ -1462,7 +1462,7 @@ def correct(self): # NOTE: This is the amin error handler # Sometimes an AMIN warning can appear with large unit cell dimensions, so we'll address it now - if np.max(Structure.from_file("CONTCAR").structure.lattice.abc) > 50.0 and amin > 0.01: + if np.max(Structure.from_file("CONTCAR").lattice.abc) > 50.0 and amin > 0.01: actions.append({"dict": "INCAR", "action": {"_set": {"AMIN": 0.01}}}) # If a hybrid is used, do not set Algo = Fast or VeryFast. Hybrid calculations do not