From b4f42f9b904a6c1485f3089b5bbebe85805c681b Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 27 Sep 2022 01:55:43 +0200 Subject: [PATCH] Fix typo in nlohmann-json --- libsolutil/nlohmannjson.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsolutil/nlohmannjson.hpp b/libsolutil/nlohmannjson.hpp index 4d1a37ad7..ea945f346 100644 --- a/libsolutil/nlohmannjson.hpp +++ b/libsolutil/nlohmannjson.hpp @@ -11227,7 +11227,7 @@ class binary_reader } if (is_ndarray) // ndarray dimensional vector can only contain integers, and can not embed another array { - return sax->parse_error(chars_read, get_token_string(), parse_error::create(113, chars_read, exception_message(input_format, "ndarray dimentional vector is not allowed", "size"), nullptr)); + return sax->parse_error(chars_read, get_token_string(), parse_error::create(113, chars_read, exception_message(input_format, "ndarray dimensional vector is not allowed", "size"), nullptr)); } std::vector dim; if (JSON_HEDLEY_UNLIKELY(!get_ubjson_ndarray_size(dim)))