remove outdated comments
This commit is contained in:
+1
-1
@@ -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
@@ -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
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user