Skip to content

Commit

Permalink
Merge pull request #1 from sakibmatin/patch-1
Browse files Browse the repository at this point in the history
avoid syntax error warning when loading
  • Loading branch information
lubbersnick authored Apr 10, 2024
2 parents eb007f8 + e0f1776 commit 422d03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hippynn/layers/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def forward(self, pair_dist, radius):
class LocalDampingCosine(AlphaScreening):
""" Local damping using complement of the hipnn cutoff function. ('glue-on' method)
g = 1 if pair_dist > R_cutoff
1 - [cos(\pi/2 * dist * R_cutoff)]^2 otherwise
1 - [cos(pi/2 * dist * R_cutoff)]^2 otherwise
"""
def __init__(self, alpha):
"""
Expand Down

0 comments on commit 422d03e

Please sign in to comment.