Add explicit regression test for bug #1622

This commit is contained in:
Gael Guennebaud
2018-11-16 11:24:51 +01:00
parent 670d56441c
commit 43c987b1c1
2 changed files with 14 additions and 0 deletions

View File

@@ -503,6 +503,7 @@ EIGEN_DECLARE_TEST(evaluators)
VERIFY_IS_EQUAL( get_cost(a.lazyProduct(a+b)), 15);
}
// regression test for PR 544 and bug 1622 (introduced in #71609c4)
{
// test restricted_packet_assignment with an unaligned destination
const size_t M = 2;