Skip to content

Commit 8092c95

Browse files
authored
Merge pull request #1031 from fspindle/revert_weird_spelling
Fix weird spelling introduced in commit 5b8c098
2 parents 8a3ad0a + 3ad0071 commit 8092c95

19 files changed

Lines changed: 49 additions & 49 deletions

File tree

3rdparty/apriltag/common/matd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ static matd_t *matd_op_recurse(const char *expr, int *pos, matd_t *acc, matd_t *
786786
}
787787

788788
default: {
789-
fprintf(stderr, "matd_op(): Unknownn character: '%c'\n", expr[*pos]);
789+
fprintf(stderr, "matd_op(): Unknown character: '%c'\n", expr[*pos]);
790790
assert(expr[*pos] != expr[*pos]);
791791
}
792792
}

3rdparty/atidaq/xmlparse.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ typedef int (*XML_ExternalEntityRefHandler)(XML_Parser parser,
224224
const XML_Char *systemId,
225225
const XML_Char *publicId);
226226

227-
/* This structure is filled in by the XML_UnknownnEncodingHandler
227+
/* This structure is filled in by the XML_UnknownEncodingHandler
228228
to provide information to the parser about encodings that are unknown
229229
to the parser.
230230
The map[b] member gives information about byte sequences
@@ -274,7 +274,7 @@ typedef struct {
274274

275275
/* This is called for an encoding that is unknown to the parser.
276276
The encodingHandlerData argument is that which was passed as the
277-
second argument to XML_SetUnknownnEncodingHandler.
277+
second argument to XML_SetUnknownEncodingHandler.
278278
The name argument gives the name of the encoding as specified in
279279
the encoding declaration.
280280
If the callback can provide information about the encoding,
@@ -283,7 +283,7 @@ Otherwise it must return 0.
283283
If info does not describe a suitable encoding,
284284
then the parser will return an XML_UNKNOWN_ENCODING error. */
285285

286-
typedef int (*XML_UnknownnEncodingHandler)(void *encodingHandlerData,
286+
typedef int (*XML_UnknownEncodingHandler)(void *encodingHandlerData,
287287
const XML_Char *name,
288288
XML_Encoding *info);
289289

@@ -363,8 +363,8 @@ void XMLPARSEAPI
363363
XML_SetExternalEntityRefHandlerArg(XML_Parser, void *arg);
364364

365365
void XMLPARSEAPI
366-
XML_SetUnknownnEncodingHandler(XML_Parser parser,
367-
XML_UnknownnEncodingHandler handler,
366+
XML_SetUnknownEncodingHandler(XML_Parser parser,
367+
XML_UnknownEncodingHandler handler,
368368
void *encodingHandlerData);
369369

370370
/* This can be called within a handler for a start element, end element,

3rdparty/atidaq/xmltok.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ const ENCODING XMLTOKAPI *XmlGetUtf16InternalEncoding(void);
289289
int XMLTOKAPI XmlUtf8Encode(int charNumber, char *buf);
290290
int XMLTOKAPI XmlUtf16Encode(int charNumber, unsigned short *buf);
291291

292-
int XMLTOKAPI XmlSizeOfUnknownnEncoding(void);
292+
int XMLTOKAPI XmlSizeOfUnknownEncoding(void);
293293
ENCODING XMLTOKAPI *
294-
XmlInitUnknownnEncoding(void *mem,
294+
XmlInitUnknownEncoding(void *mem,
295295
int *table,
296296
int (*conv)(void *userData, const char *p),
297297
void *userData);
@@ -309,7 +309,7 @@ int XMLTOKAPI XmlInitEncodingNS(INIT_ENCODING *, const ENCODING **, const char *
309309
const ENCODING XMLTOKAPI *XmlGetUtf8InternalEncodingNS(void);
310310
const ENCODING XMLTOKAPI *XmlGetUtf16InternalEncodingNS(void);
311311
ENCODING XMLTOKAPI *
312-
XmlInitUnknownnEncodingNS(void *mem,
312+
XmlInitUnknownEncodingNS(void *mem,
313313
int *table,
314314
int (*conv)(void *userData, const char *p),
315315
void *userData);

3rdparty/catch2/catch.hpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ namespace Catch {
13491349

13501350
// ResultWas::OfType enum
13511351
struct ResultWas { enum OfType {
1352-
Unknownn = -1,
1352+
Unknown = -1,
13531353
Ok = 0,
13541354
Info = 1,
13551355
Warning = 2,
@@ -1572,7 +1572,7 @@ namespace Catch {
15721572
};
15731573

15741574
template<typename E>
1575-
std::string convertUnknownnEnumToString( E e );
1575+
std::string convertUnknownEnumToString( E e );
15761576

15771577
template<typename T>
15781578
typename std::enable_if<
@@ -1591,7 +1591,7 @@ namespace Catch {
15911591
typename std::enable_if<
15921592
std::is_enum<T>::value
15931593
, std::string>::type convertUnstreamable( T const& value ) {
1594-
return convertUnknownnEnumToString( value );
1594+
return convertUnknownEnumToString( value );
15951595
}
15961596

15971597
#if defined(_MANAGED)
@@ -1644,7 +1644,7 @@ namespace Catch {
16441644
}
16451645

16461646
template<typename E>
1647-
std::string convertUnknownnEnumToString( E e ) {
1647+
std::string convertUnknownEnumToString( E e ) {
16481648
return ::Catch::Detail::stringify(static_cast<typename std::underlying_type<E>::type>(e));
16491649
}
16501650

@@ -10134,7 +10134,7 @@ namespace {
1013410134
case Colour::Bright: CATCH_INTERNAL_ERROR( "not a colour" );
1013510135

1013610136
default:
10137-
CATCH_ERROR( "Unknownn colour requested" );
10137+
CATCH_ERROR( "Unknown colour requested" );
1013810138
}
1013910139
}
1014010140

@@ -10195,7 +10195,7 @@ namespace {
1019510195
case Colour::BrightYellow: return setColour( "[1;33m" );
1019610196

1019710197
case Colour::Bright: CATCH_INTERNAL_ERROR( "not a colour" );
10198-
default: CATCH_INTERNAL_ERROR( "Unknownn colour requested" );
10198+
default: CATCH_INTERNAL_ERROR( "Unknown colour requested" );
1019910199
}
1020010200
}
1020110201
static IColourImpl* instance() {
@@ -10721,7 +10721,7 @@ namespace Catch {
1072110721
return msg;
1072210722
}
1072310723
catch(...) {
10724-
return "Unknownn exception";
10724+
return "Unknown exception";
1072510725
}
1072610726
}
1072710727

@@ -11596,7 +11596,7 @@ namespace Floating {
1159611596
case FloatingPointKind::Double:
1159711597
return almostEqualUlps<double>(matchee, m_target, m_ulps);
1159811598
default:
11599-
CATCH_INTERNAL_ERROR( "Unknownn FloatingPointKind value" );
11599+
CATCH_INTERNAL_ERROR( "Unknown FloatingPointKind value" );
1160011600
}
1160111601
}
1160211602

@@ -12809,7 +12809,7 @@ namespace Catch {
1280912809
}
1281012810
void RunContext::resetAssertionInfo() {
1281112811
m_lastAssertionInfo.macroName = StringRef();
12812-
m_lastAssertionInfo.capturedExpression = "{Unknownn expression after the reported line}"_sr;
12812+
m_lastAssertionInfo.capturedExpression = "{Unknown expression after the reported line}"_sr;
1281312813
}
1281412814

1281512815
bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) {
@@ -14471,7 +14471,7 @@ namespace TestCaseTracking {
1447114471
CATCH_INTERNAL_ERROR( "Illogical state: " << m_runState );
1447214472

1447314473
default:
14474-
CATCH_INTERNAL_ERROR( "Unknownn state: " << m_runState );
14474+
CATCH_INTERNAL_ERROR( "Unknown state: " << m_runState );
1447514475
}
1447614476
moveToParent();
1447714477
m_ctx.completeCycle();
@@ -15416,7 +15416,7 @@ namespace Catch {
1541615416
case WildcardAtBothEnds:
1541715417
return contains( normaliseString( str ), m_pattern );
1541815418
default:
15419-
CATCH_INTERNAL_ERROR( "Unknownn enum" );
15419+
CATCH_INTERNAL_ERROR( "Unknown enum" );
1542015420
}
1542115421
}
1542215422

@@ -15957,7 +15957,7 @@ class AssertionPrinter {
1595715957
printRemainingMessages(Colour::None);
1595815958
break;
1595915959
// These cases are here to prevent compiler warnings
15960-
case ResultWas::Unknownn:
15960+
case ResultWas::Unknown:
1596115961
case ResultWas::FailureBit:
1596215962
case ResultWas::Exception:
1596315963
printResultType(Colour::Error, "** internal error **");
@@ -16194,7 +16194,7 @@ class ConsoleAssertionPrinter {
1619416194
messageLabel = "explicitly with messages";
1619516195
break;
1619616196
// These cases are here to prevent compiler warnings
16197-
case ResultWas::Unknownn:
16197+
case ResultWas::Unknown:
1619816198
case ResultWas::FailureBit:
1619916199
case ResultWas::Exception:
1620016200
passOrFail = "** internal error **";
@@ -17030,7 +17030,7 @@ namespace Catch {
1703017030
case ResultWas::Info:
1703117031
case ResultWas::Warning:
1703217032
case ResultWas::Ok:
17033-
case ResultWas::Unknownn:
17033+
case ResultWas::Unknown:
1703417034
case ResultWas::FailureBit:
1703517035
case ResultWas::Exception:
1703617036
elementName = "internalError";

3rdparty/clapack/include/f2c.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ typedef struct Namelist Namelist;
168168

169169
#define F2C_proc_par_types 1
170170
#ifdef __cplusplus
171-
typedef int /* Unknownn procedure type */ (*U_fp)(...);
171+
typedef int /* Unknown procedure type */ (*U_fp)(...);
172172
typedef shortint (*J_fp)(...);
173173
typedef integer (*I_fp)(...);
174174
typedef real (*R_fp)(...);
@@ -180,7 +180,7 @@ typedef shortlogical (*K_fp)(...);
180180
typedef /* Character */ VOID (*H_fp)(...);
181181
typedef /* Subroutine */ int (*S_fp)(...);
182182
#else
183-
typedef int /* Unknownn procedure type */ (*U_fp)();
183+
typedef int /* Unknown procedure type */ (*U_fp)();
184184
typedef shortint (*J_fp)();
185185
typedef integer (*I_fp)();
186186
typedef real (*R_fp)();

3rdparty/pugixml-1.9/pugixml.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6830,7 +6830,7 @@ namespace pugi
68306830

68316831
case status_no_document_element: return "No document element found";
68326832

6833-
default: return "Unknownn error";
6833+
default: return "Unknown error";
68346834
}
68356835
}
68366836

@@ -9783,7 +9783,7 @@ PUGI__NS_BEGIN
97839783
break;
97849784

97859785
default:
9786-
assert(false && "Unknownn axis"); // unreachable
9786+
assert(false && "Unknown axis"); // unreachable
97879787
}
97889788

97899789
return false;
@@ -10809,7 +10809,7 @@ PUGI__NS_BEGIN
1080910809
return step_do(c, stack, eval, axis_to_type<axis_self>());
1081010810

1081110811
default:
10812-
assert(false && "Unknownn axis"); // unreachable
10812+
assert(false && "Unknown axis"); // unreachable
1081310813
return xpath_node_set_raw();
1081410814
}
1081510815
}
@@ -11296,14 +11296,14 @@ PUGI__NS_BEGIN
1129611296
xpath_lexer_string name = _lexer.contents();
1129711297

1129811298
if (!_variables)
11299-
return error("Unknownn variable: variable set is not provided");
11299+
return error("Unknown variable: variable set is not provided");
1130011300

1130111301
xpath_variable* var = 0;
1130211302
if (!get_variable_scratch(_scratch, _variables, name.begin, name.end, &var))
1130311303
return error_oom();
1130411304

1130511305
if (!var)
11306-
return error("Unknownn variable: variable set does not contain the given name");
11306+
return error("Unknown variable: variable set does not contain the given name");
1130711307

1130811308
_lexer.next();
1130911309

@@ -11478,7 +11478,7 @@ PUGI__NS_BEGIN
1147811478
axis = parse_axis_name(nt_name, axis_specified);
1147911479

1148011480
if (!axis_specified)
11481-
return error("Unknownn axis");
11481+
return error("Unknown axis");
1148211482

1148311483
// read actual node test
1148411484
_lexer.next();

3rdparty/pugixml-1.9/pugixml.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ namespace pugi
10721072
// XPath query return type
10731073
enum xpath_value_type
10741074
{
1075-
xpath_type_none, // Unknownn type (query failed to compile)
1075+
xpath_type_none, // Unknown type (query failed to compile)
10761076
xpath_type_node_set, // Node set (xpath_node_set)
10771077
xpath_type_number, // Number
10781078
xpath_type_string, // String

3rdparty/simdlib/Simd/SimdPerformance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ namespace Simd
6666
bool _entered, _paused;
6767

6868
public:
69-
PerformanceMeasurer(const String& name = "Unknownn", int64_t flop = 0);
69+
PerformanceMeasurer(const String& name = "Unknown", int64_t flop = 0);
7070

7171
PerformanceMeasurer(const PerformanceMeasurer& pm);
7272

modules/core/include/visp3/core/vpEndian.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ typedef unsigned short uint16_t;
6666
#define VISP_PDP_ENDIAN
6767
//#error PDP endian is not supported. //Uncomment if needed/happens
6868
#else
69-
#error Unknownn machine endianness detected.
69+
#error Unknown machine endianness detected.
7070
#endif
7171
#elif defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN) || defined(__BIG_ENDIAN__) && !defined(__LITTLE_ENDIAN__)
7272
#define VISP_BIG_ENDIAN

modules/detection/src/dnn/vpDetectorDNN.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ void vpDetectorDNN::postProcess() {
322322
}
323323
}
324324
else
325-
CV_Error(cv::Error::StsNotImplemented, "Unknownn output layer type: " + outLayerType);
325+
CV_Error(cv::Error::StsNotImplemented, "Unknown output layer type: " + outLayerType);
326326

327327
cv::dnn::NMSBoxes(m_boxes, m_confidences, m_confidenceThreshold, m_nmsThreshold, m_indices);
328328
m_boxesNMS.resize(m_indices.size());

0 commit comments

Comments
 (0)