cleanly initialize matrices in test

release/4.3a0
Varun Agrawal 2021-01-05 14:13:15 -05:00
parent b244a7d636
commit 5b52e4c29f
1 changed files with 1 additions and 3 deletions

View File

@ -175,9 +175,7 @@ TEST(Values, basic_functions)
{
Values values;
const Values& values_c = values;
Matrix23 M1, M2;
M1 << 0, 0, 0, 0, 0, 0;
M2 << 0, 0, 0, 0, 0, 0;
Matrix23 M1 = Matrix23::Zero(), M2 = Matrix23::Zero();
values.insert(2, Vector3(0, 0, 0));
values.insert(4, Vector3(0, 0, 0));
values.insert(6, M1);