remove outdated comments

This commit is contained in:
conrad
2025-07-07 21:37:13 +10:00
parent d3c2a9ebd0
commit ee663d08f6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ TEST_CASE("bounds_1", "[bounds]")
REQUIRE_NOTHROW( A(n_rows-1,n_cols-1) = 0 );
// out of bounds access will throw unless ARMA_NO_DEBUG is defined
// out of bounds access will throw
REQUIRE_THROWS( A(n_rows,n_cols) = 0 );
}
+1 -1
View File
@@ -114,7 +114,7 @@ TEST_CASE("fn_accu_4", "[accu]")
REQUIRE( accu(A % B) == Approx(double((2*4)*(A.n_rows*A.n_cols))) );
REQUIRE( accu(A(span::all,span::all) % B(span::all,span::all)) == Approx(double((2*4)*(A.n_rows*A.n_cols))) );
// A and C matrices are non-conformat, so accu() will throw unless ARMA_NO_DEBUG is defined
// A and C matrices are non-conformant
REQUIRE_THROWS( accu(A % C) );
REQUIRE_THROWS( accu(A(span::all,span::all) % C(span::all,span::all)) );
}
+1 -1
View File
@@ -110,7 +110,7 @@ TEST_CASE("mat_plus_2", "[plus]")
mat X(6,5);
mat Y;
REQUIRE_THROWS( Y = A+X ); // adding non-conformant matrices will throw unless ARMA_NO_DEBUG is defined
REQUIRE_THROWS( Y = A+X ); // adding non-conformant matrices will throw
}