From afe6b7a9fd81fe185c13cf9425b7f63933281b01 Mon Sep 17 00:00:00 2001 From: Ruben Undheim Date: Sat, 9 Jul 2016 11:12:02 +0200 Subject: Spelling fixes Gbp-Pq: Name 0002-Spelling-fixes.patch --- CSXCAD/src/CSRectGrid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CSXCAD/src/CSRectGrid.cpp') 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 ""; } -- cgit v1.2.3