From 9ca4990bc919d1b03608855eda3a53fef7501fcf Mon Sep 17 00:00:00 2001 From: Andrea Barontini Date: Fri, 1 Dec 2023 15:07:53 +0100 Subject: [PATCH] Update src/pineko/cli/fonll.py Co-authored-by: Roy Stegeman --- src/pineko/cli/fonll.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pineko/cli/fonll.py b/src/pineko/cli/fonll.py index f41c9ab5..becc5cac 100644 --- a/src/pineko/cli/fonll.py +++ b/src/pineko/cli/fonll.py @@ -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"