Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
OpenFold
Commits
5484c381
"vscode:/vscode.git/clone" did not exist on "21b795e8311975874b2369e886e805c32d1c7c68"
Unverified
Commit
5484c381
authored
May 13, 2023
by
Gustaf Ahdritz
Committed by
GitHub
May 13, 2023
Browse files
Standardize if condition
parent
c52d262c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openfold/model/triangular_multiplicative_update.py
openfold/model/triangular_multiplicative_update.py
+1
-1
No files found.
openfold/model/triangular_multiplicative_update.py
View file @
5484c381
...
...
@@ -397,7 +397,7 @@ class TriangleMultiplicativeUpdate(nn.Module):
# 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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment