Another attempt at getting past Linux compiler

release/4.3a0
Frank Dellaert 2019-06-15 21:12:55 -04:00 committed by Fan Jiang
parent 40af21914b
commit 41902efc79
2 changed files with 4 additions and 4 deletions

View File

@ -297,7 +297,7 @@ static Vector9 vec3(const Matrix3& R) {
}
// so<3> generators
static std::vector<const Matrix3> G3({SO3::Hat(Vector3::Unit(0)),
static std::vector<Matrix3> G3({SO3::Hat(Vector3::Unit(0)),
SO3::Hat(Vector3::Unit(1)),
SO3::Hat(Vector3::Unit(2))});

View File

@ -138,7 +138,7 @@ static SO4::VectorN2 vec4(const Matrix4& Q) {
}
// so<4> generators
static std::vector<const Matrix4> G4(
static std::vector<Matrix4> G4(
{SO4::Hat(Vector6::Unit(0)), SO4::Hat(Vector6::Unit(1)),
SO4::Hat(Vector6::Unit(2)), SO4::Hat(Vector6::Unit(3)),
SO4::Hat(Vector6::Unit(4)), SO4::Hat(Vector6::Unit(5))});