From 4be2986681552bb94235d1c2b288ff8fb2096448 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 7 Jul 2025 08:18:00 +0300 Subject: [PATCH] Fixes potential compile error Corrects the usage of `At` method within the unit tests to `at` to resolve a potential compile error due to incorrect case sensitivity. --- tests/general/unit_test_mat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/general/unit_test_mat.cpp b/tests/general/unit_test_mat.cpp index 1d6869a..de2c698 100644 --- a/tests/general/unit_test_mat.cpp +++ b/tests/general/unit_test_mat.cpp @@ -167,8 +167,8 @@ TEST_F(unit_test_mat, StaticMethod_ToScreenMat) TEST_F(unit_test_mat, Method_At_OutOfRange) { #if !defined(NDEBUG) && defined(OMATH_SUPRESS_SAFETY_CHECKS) - EXPECT_THROW(std::ignore = m2.At(2, 0), std::out_of_range); - EXPECT_THROW(std::ignore = m2.At(0, 2), std::out_of_range); + EXPECT_THROW(std::ignore = m2.at(2, 0), std::out_of_range); + EXPECT_THROW(std::ignore = m2.at(0, 2), std::out_of_range); #endif }