summaryrefslogtreecommitdiff
path: root/CSXCAD/src/CSRectGrid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CSXCAD/src/CSRectGrid.cpp')
-rw-r--r--CSXCAD/src/CSRectGrid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/CSXCAD/src/CSRectGrid.cpp b/CSXCAD/src/CSRectGrid.cpp
index 50f2947..5b36dc2 100644
--- a/CSXCAD/src/CSRectGrid.cpp
+++ b/CSXCAD/src/CSRectGrid.cpp
@@ -78,7 +78,7 @@ std::string CSRectGrid::AddDiscLines(int direct, int numLines, double* vals, std
}
fParse.Parse(DistFunction,dirVar);
if (fParse.GetParseErrorType()!=FunctionParser::FP_NO_ERROR)
- return std::string("An error occured parsing f(") + dirVar + std::string(") - Parser message:\n") + std::string(fParse.ErrorMsg());
+ return std::string("An error occurred parsing f(") + dirVar + std::string(") - Parser message:\n") + std::string(fParse.ErrorMsg());
double dValue=0;
bool error=false;
@@ -88,7 +88,7 @@ std::string CSRectGrid::AddDiscLines(int direct, int numLines, double* vals, std
if (fParse.EvalError()!=0) error=true;
AddDiscLine(direct,dValue);
}
- if (error) return std::string("An error occured evaluation the grid function f(") + dirVar + std::string(")!");
+ if (error) return std::string("An error occurred evaluation the grid function f(") + dirVar + std::string(")!");
}
return "";
}