diff --git a/test/main.h b/test/main.h index d1a68befb..184a35b15 100644 --- a/test/main.h +++ b/test/main.h @@ -368,7 +368,7 @@ inline bool test_isUnitary(const MatrixBase& m) } template -bool test_is_equal(T actual, U expected) +bool test_is_equal(const T& actual, const U& expected) { if (actual==expected) return true;