bug #1260: add regression test

This commit is contained in:
Gael Guennebaud 2016-07-27 14:38:30 +02:00
parent 0d7039319c
commit 5d94dc85e5

View File

@ -238,6 +238,13 @@ double bug_1223() {
return t.value() + t2.value(); return t.value() + t2.value();
} }
// regression test for some compilation issues with specializations of ScalarBinaryOpTraits
void bug_1260() {
Matrix4d A;
Vector4d v;
A*v;
}
void test_autodiff() void test_autodiff()
{ {
for(int i = 0; i < g_repeat; i++) { for(int i = 0; i < g_repeat; i++) {
@ -249,5 +256,6 @@ void test_autodiff()
bug_1222(); bug_1222();
bug_1223(); bug_1223();
bug_1260();
} }