summaryrefslogtreecommitdiff
path: root/CSXCAD/src/CSPrimUserDefined.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CSXCAD/src/CSPrimUserDefined.cpp')
-rw-r--r--CSXCAD/src/CSPrimUserDefined.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSXCAD/src/CSPrimUserDefined.cpp b/CSXCAD/src/CSPrimUserDefined.cpp
index 2cd5219..746e77e 100644
--- a/CSXCAD/src/CSPrimUserDefined.cpp
+++ b/CSXCAD/src/CSPrimUserDefined.cpp
@@ -190,8 +190,8 @@ bool CSPrimUserDefined::Update(std::string *ErrStr)
for (int i=0;i<3;++i)
{
EC=dPosShift[i].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::ostringstream oss;