Skip to content

Commit 46fe741

Browse files
authored
Fix typos.
1 parent 47ae5f1 commit 46fe741

File tree

1 file changed

+4
-4
lines changed
  • modules/core/include/opencv2/core

1 file changed

+4
-4
lines changed

modules/core/include/opencv2/core/base.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ namespace cv
6666
namespace Error {
6767
//! error codes
6868
enum Code {
69-
StsOk= 0, //!< everithing is ok
69+
StsOk= 0, //!< everything is ok
7070
StsBackTrace= -1, //!< pseudo error for back trace
7171
StsError= -2, //!< unknown /unspecified error
7272
StsInternal= -3, //!< internal error (bad state)
@@ -97,7 +97,7 @@ enum Code {
9797
StsVecLengthErr= -28, //!< incorrect vector length
9898
StsFilterStructContentErr= -29, //!< incorr. filter structure content
9999
StsKernelStructContentErr= -30, //!< incorr. transform kernel content
100-
StsFilterOffsetErr= -31, //!< incorrect filter ofset value
100+
StsFilterOffsetErr= -31, //!< incorrect filter offset value
101101
StsBadSize= -201, //!< the input/output structure size is incorrect
102102
StsDivByZero= -202, //!< division by zero
103103
StsInplaceNotSupported= -203, //!< in-place operation is not supported
@@ -338,8 +338,8 @@ It is possible to alternate error processing by using redirectError().
338338
@param _code - error code (Error::Code)
339339
@param _err - error description
340340
@param _func - function name. Available only when the compiler supports getting it
341-
@param _file - source file name where the error has occured
342-
@param _line - line number in the source file where the error has occured
341+
@param _file - source file name where the error has occurred
342+
@param _line - line number in the source file where the error has occurred
343343
@see CV_Error, CV_Error_, CV_ErrorNoReturn, CV_ErrorNoReturn_, CV_Assert, CV_DbgAssert
344344
*/
345345
CV_EXPORTS void error(int _code, const String& _err, const char* _func, const char* _file, int _line);

0 commit comments

Comments
 (0)