Skip to content

Commit

Permalink
Fix setting of default energy frequency.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Jan 23, 2024
1 parent 42b5f8a commit bdf8505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emle/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,7 @@ def __init__(
)

if energy_frequency is None:
energy_frequency = 1
energy_frequency = 0

if not isinstance(energy_frequency, int):
msg = "'energy_frequency' must be of type 'int'"
Expand Down

0 comments on commit bdf8505

Please sign in to comment.