diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2016-07-09 11:12:02 +0200 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2019-10-19 19:20:44 +0200 |
commit | afe6b7a9fd81fe185c13cf9425b7f63933281b01 (patch) | |
tree | 00abf9ce8477a5dbcefb884bb4fb14c34bc380b8 /CSXCAD/src/CSRectGrid.cpp | |
parent | 584c8f23e595e0d2cbef826c1569f56361b83654 (diff) |
Spelling fixes
Gbp-Pq: Name 0002-Spelling-fixes.patch
Diffstat (limited to 'CSXCAD/src/CSRectGrid.cpp')
-rw-r--r-- | CSXCAD/src/CSRectGrid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CSXCAD/src/CSRectGrid.cpp b/CSXCAD/src/CSRectGrid.cpp index 4f90bfe..3a8dcf7 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 ""; } |