mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
Feature/more constexpr (#125)
* added constexpr * fix * improved stuff * added const * improvement * fix * fix * patch
This commit is contained in:
@@ -15,7 +15,7 @@ TEST(MatMore, InitListAndMultiply)
|
||||
|
||||
TEST(MatMore, Determinant)
|
||||
{
|
||||
Mat<2,2,double> m{{{1.0,2.0},{2.0,4.0}}}; // singular
|
||||
double det = m.determinant();
|
||||
const Mat<2,2,double> m{{{1.0,2.0},{2.0,4.0}}}; // singular
|
||||
const double det = m.determinant();
|
||||
EXPECT_DOUBLE_EQ(det, 0.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user