Skip to content

Commit 486a095

Browse files
Try resetting c = F::c
1 parent 7ed9ab7 commit 486a095

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/expressions_impl.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3047,11 +3047,11 @@ BOOST_FIXTURE_TEST_CASE_TEMPLATE(empty_trange1, F, Fixtures, F) {
30473047

30483048
// unary/binary block expressions
30493049
{
3050-
std::decay_t<decltype(c)> t3;
3051-
BOOST_CHECK_NO_THROW(t3("a,b,c") = aC("a,b,c").block(lobound, upbound));
3052-
BOOST_CHECK_NO_THROW(t3("a,b,c") +=
3050+
c = F::c;
3051+
BOOST_CHECK_NO_THROW(c("a,b,c") = aC("a,b,c").block(lobound, upbound));
3052+
BOOST_CHECK_NO_THROW(c("a,b,c") +=
30533053
2 * aC("a,b,c").block(lobound, upbound).conj());
3054-
BOOST_CHECK_NO_THROW(t3("a,b,c") =
3054+
BOOST_CHECK_NO_THROW(c("a,b,c") =
30553055
2 * conj(aC("a,c,b").block(lobound, upbound)));
30563056
}
30573057

0 commit comments

Comments
 (0)