Fix regression: .conjugate() was popped out but not re-introduced.

This commit is contained in:
Gael Guennebaud
2019-02-18 14:45:55 +01:00
parent c69d0d08d0
commit 31b6e080a9
2 changed files with 10 additions and 6 deletions

View File

@@ -29,6 +29,7 @@ void check_scalar_multiple2(Dst &dst, const Lhs& A, const Rhs& B, S2 s2)
CALL_SUBTEST( check_scalar_multiple3(dst, A, -B) );
CALL_SUBTEST( check_scalar_multiple3(dst, A, s2*B) );
CALL_SUBTEST( check_scalar_multiple3(dst, A, B*s2) );
CALL_SUBTEST( check_scalar_multiple3(dst, A, (B*s2).conjugate()) );
}
template<typename Dst, typename Lhs, typename Rhs, typename S1, typename S2>
@@ -38,6 +39,7 @@ void check_scalar_multiple1(Dst &dst, const Lhs& A, const Rhs& B, S1 s1, S2 s2)
CALL_SUBTEST( check_scalar_multiple2(dst, -A, B, s2) );
CALL_SUBTEST( check_scalar_multiple2(dst, s1*A, B, s2) );
CALL_SUBTEST( check_scalar_multiple2(dst, A*s1, B, s2) );
CALL_SUBTEST( check_scalar_multiple2(dst, (A*s1).conjugate(), B, s2) );
}
template<typename MatrixType> void product_notemporary(const MatrixType& m)