From 962d57b4d6ea98fea9cdee60b170ed676d5a776b Mon Sep 17 00:00:00 2001 From: Daniel Ingram Date: Wed, 15 May 2019 11:41:43 -0400 Subject: [PATCH] Merge pull request #14559 from daniel-s-ingram:master * Fix typo: 'divisble' -> 'divisible' * Fix typo: 'One of arguments' -> 'One of the arguments' --- modules/calib3d/src/stereobm.cpp | 2 +- modules/core/src/system.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/calib3d/src/stereobm.cpp b/modules/calib3d/src/stereobm.cpp index 166578deea..92a0238213 100644 --- a/modules/calib3d/src/stereobm.cpp +++ b/modules/calib3d/src/stereobm.cpp @@ -1130,7 +1130,7 @@ public: CV_Error( Error::StsOutOfRange, "SADWindowSize must be odd, be within 5..255 and be not larger than image width or height" ); if( params.numDisparities <= 0 || params.numDisparities % 16 != 0 ) - CV_Error( Error::StsOutOfRange, "numDisparities must be positive and divisble by 16" ); + CV_Error( Error::StsOutOfRange, "numDisparities must be positive and divisible by 16" ); if( params.textureThreshold < 0 ) CV_Error( Error::StsOutOfRange, "texture threshold must be non-negative" ); diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp index 6fa792d6bd..ceb26d7a0b 100644 --- a/modules/core/src/system.cpp +++ b/modules/core/src/system.cpp @@ -1171,7 +1171,7 @@ CV_IMPL const char* cvErrorStr( int status ) case CV_BadDepth : return "Input image depth is not supported by function"; case CV_StsUnmatchedFormats : return "Formats of input arguments do not match"; case CV_StsUnmatchedSizes : return "Sizes of input arguments do not match"; - case CV_StsOutOfRange : return "One of arguments\' values is out of range"; + case CV_StsOutOfRange : return "One of the arguments\' values is out of range"; case CV_StsUnsupportedFormat : return "Unsupported format or combination of formats"; case CV_BadCOI : return "Input COI is not supported"; case CV_BadNumChannels : return "Bad number of channels";