From: Jean-Philippe ARGAUD Date: Tue, 12 Feb 2013 19:27:09 +0000 (+0100) Subject: Correcting string comparison X-Git-Tag: V7_1_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bd197e3fab09ebc03124a68d5a5104284b74521d;p=modules%2Fadao.git Correcting string comparison --- 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