Skip to content

Commit

Permalink
Update src/pineko/cli/fonll.py
Browse files Browse the repository at this point in the history
Co-authored-by: Roy Stegeman <[email protected]>
  • Loading branch information
andreab1997 and RoyStegeman authored Dec 1, 2023
1 parent 90c075d commit 9ca4990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pineko/cli/fonll.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def subcommand(

# Get theory info
tcard = theory_card.load(theoryid)
if tcard["DAMP"] not in [-1,0]:
if tcard["DAMP"] == 1:
if not "DAMPPOWERc" in tcard or not "DAMPPOWERb" in tcard:
raise InconsistentInputsError(
"If DAMP is set, set also DAMPPOWERb and DAMPPOWERc"
Expand Down

0 comments on commit 9ca4990

Please sign in to comment.