From 2fb1696f0100b8840269f1de7a38e61c0fe4247d Mon Sep 17 00:00:00 2001
From: Juacrumar <juacrumar@lairen.eu>
Date: Wed, 30 Sep 2020 12:59:29 +0200
Subject: [PATCH] Update n3fit/src/n3fit/checks.py

---
 n3fit/src/n3fit/checks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/n3fit/src/n3fit/checks.py b/n3fit/src/n3fit/checks.py
index ef7385a812..b9d57cdb30 100644
--- a/n3fit/src/n3fit/checks.py
+++ b/n3fit/src/n3fit/checks.py
@@ -127,7 +127,7 @@ def check_lagrange_multipliers(parameters, key):
     if lagrange_dict is None:
         return
     multiplier = lagrange_dict.get("multiplier")
-    if multiplier is not None and multiplier <= 0:
+    if multiplier is not None and multiplier < 0:
         log.warning("The %s multiplier is below 0, it will produce a negative loss", key)
     threshold = lagrange_dict.get("threshold")
     if threshold is not None and not _is_floatable(threshold):
-- 
GitLab