Skip to content

Commit

Permalink
Lint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyue Ping Ong committed Jun 21, 2023
1 parent 8cab53b commit 773493c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matgl/layers/_activations.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SoftExponential(nn.Module):
References: https://arxiv.org/pdf/1602.01321.pdf
"""

def __init__(self, alpha: float = None):
def __init__(self, alpha: float | None = None):
"""
Init SoftExponential with alpha value.
Expand Down

0 comments on commit 773493c

Please sign in to comment.