From bd197e3fab09ebc03124a68d5a5104284b74521d Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Tue, 12 Feb 2013 20:27:09 +0100 Subject: [PATCH] Correcting string comparison --- src/daComposant/daAlgorithms/3DVAR.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daComposant/daAlgorithms/3DVAR.py b/src/daComposant/daAlgorithms/3DVAR.py index 9b63849..d2ecc6f 100644 --- a/src/daComposant/daAlgorithms/3DVAR.py +++ b/src/daComposant/daAlgorithms/3DVAR.py @@ -102,7 +102,7 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): Bounds = None # # Correction pour pallier a un bug de TNC sur le retour du Minimum - if self._parameters.has_key("Minimizer") is "TNC": + if self._parameters.has_key("Minimizer") == "TNC": self.setParameterValue("StoreInternalVariables",True) # # Opérateur d'observation -- 2.39.2