]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
0022287: [CEA 912] Notebook: clicking on "update study" returns an error message
authoreap <eap@opencascade.com>
Fri, 26 Jul 2013 12:50:57 +0000 (12:50 +0000)
committereap <eap@opencascade.com>
Fri, 26 Jul 2013 12:50:57 +0000 (12:50 +0000)
initialize myValue in constructor

src/SALOMEDSImpl/SALOMEDSImpl_ScalarVariable.cxx

index b070c19c0a68e058785c2e022bd42cca9986f7ec..210ed697c64ee085ac0d133b27f9b9d89d3a2166 100644 (file)
@@ -38,7 +38,8 @@
 SALOMEDSImpl_ScalarVariable::
 SALOMEDSImpl_ScalarVariable(SALOMEDSImpl_GenericVariable::VariableTypes type,
                             const std::string& theName):
-  SALOMEDSImpl_GenericVariable(type,theName)
+  SALOMEDSImpl_GenericVariable(type,theName),
+  myValue( 1e+100 )
 {}
 
 //============================================================================