From dc26badd5ce66839fa854e2cc377e5dfb8ca910d Mon Sep 17 00:00:00 2001 From: "Gao, Xiang" Date: Thu, 2 Jul 2020 11:36:11 -0700 Subject: [PATCH] Kill python 2.7 style super --- torchani/aev.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchani/aev.py b/torchani/aev.py index 505a86f36..b4cfd555b 100644 --- a/torchani/aev.py +++ b/torchani/aev.py @@ -347,7 +347,7 @@ class AEVComputer(torch.nn.Module): sizes: Final[Tuple[int, int, int, int, int]] def __init__(self, Rcr, Rca, EtaR, ShfR, EtaA, Zeta, ShfA, ShfZ, num_species): - super(AEVComputer, self).__init__() + super().__init__() self.Rcr = Rcr self.Rca = Rca assert Rca <= Rcr, "Current implementation of AEVComputer assumes Rca <= Rcr"