Skip to content

Commit

Permalink
Merge pull request #420 from ShuaishuaiYuan/patch-1
Browse files Browse the repository at this point in the history
Update Type Hint for energy_correction
  • Loading branch information
anjohan authored Oct 23, 2024
2 parents ca16360 + 4a54fb1 commit 9f275ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flare/learners/lmpotf.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(
rcut: float,
type2number: Union[(int, List[int])],
dftcalc: object,
energy_correction: List[float] = 0.0,
energy_correction: Union[(float, List[float])] = 0.0,
force_training=True,
energy_training=True,
stress_training=True,
Expand Down

0 comments on commit 9f275ca

Please sign in to comment.