summaryrefslogtreecommitdiff
path: root/CSXCAD/src/CSPrimSphericalShell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CSXCAD/src/CSPrimSphericalShell.cpp')
-rw-r--r--CSXCAD/src/CSPrimSphericalShell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSXCAD/src/CSPrimSphericalShell.cpp b/CSXCAD/src/CSPrimSphericalShell.cpp
index 73f2d82..cb71cbd 100644
--- a/CSXCAD/src/CSPrimSphericalShell.cpp
+++ b/CSXCAD/src/CSPrimSphericalShell.cpp
@@ -92,8 +92,8 @@ bool CSPrimSphericalShell::Update(std::string *ErrStr)
bool bOK=CSPrimSphere::Update(ErrStr);
EC=psShellWidth.Evaluate();
- if (EC!=ParameterScalar::NO_ERROR) bOK=false;
- if ((EC!=ParameterScalar::NO_ERROR) && (ErrStr!=NULL))
+ if (EC!=ParameterScalar::PS_NO_ERROR) bOK=false;
+ if ((EC!=ParameterScalar::PS_NO_ERROR) && (ErrStr!=NULL))
{
bOK=false;
std::stringstream stream;