summaryrefslogtreecommitdiff
path: root/CSXCAD/src/CSPrimCylindricalShell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CSXCAD/src/CSPrimCylindricalShell.cpp')
-rw-r--r--CSXCAD/src/CSPrimCylindricalShell.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSXCAD/src/CSPrimCylindricalShell.cpp b/CSXCAD/src/CSPrimCylindricalShell.cpp
index 0ca1701..481055d 100644
--- a/CSXCAD/src/CSPrimCylindricalShell.cpp
+++ b/CSXCAD/src/CSPrimCylindricalShell.cpp
@@ -136,8 +136,8 @@ bool CSPrimCylindricalShell::Update(std::string *ErrStr)
bool bOK=CSPrimCylinder::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;