Unverified Commit d98926ce authored by Gao, Xiang's avatar Gao, Xiang Committed by GitHub
Browse files

Kill python 2.7 style super (#496)

parent 28ecce79
......@@ -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"
......
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