Skip to content

Commit bd6639c

Browse files
committed
Revert "Use Matrix initializer_list constructor instead of comma initializers"
This reverts commit c5246b7.
1 parent d01a20b commit bd6639c

File tree

149 files changed

+2097
-1993
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+2097
-1993
lines changed

gtsam/base/Matrix.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ GTSAM_EXPORT Matrix vector_scale(const Matrix& A, const Vector& v, bool inf_mask
300300
*/
301301

302302
inline Matrix3 skewSymmetric(double wx, double wy, double wz) {
303-
return Matrix3{{0.0, -wz, +wy}, {+wz, 0.0, -wx}, {-wy, +wx, 0.0}};
303+
return (Matrix3() << 0.0, -wz, +wy, +wz, 0.0, -wx, -wy, +wx, 0.0).finished();
304304
}
305305

306306
template <class Derived>

0 commit comments

Comments
 (0)