Skip to content

Commit

Permalink
Standardize if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gahdritz committed May 13, 2023
1 parent c52d262 commit 5484c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfold/model/triangular_multiplicative_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def forward(self,
# reduced-precision modes
a_std = a.std()
b_std = b.std()
if(a_std != 0. and b_std != 0):
if(a_std != 0. and b_std != 0.):
a = a / a.std()
b = b / b.std()

Expand Down

0 comments on commit 5484c38

Please sign in to comment.