diff --git a/gtsam/linear/SparseEigen.h b/gtsam/linear/SparseEigen.h index 7963d3ef5..9df74f9fc 100644 --- a/gtsam/linear/SparseEigen.h +++ b/gtsam/linear/SparseEigen.h @@ -38,6 +38,7 @@ SparseEigen sparseJacobianEigen( // TODO(gerry): eliminate copy/pasta by making GaussianFactorGraph version // more general, or by creating an Eigen::Triplet compatible wrapper for // boost::tuple return type + gttic_(SparseEigen_sparseJacobianEigen); // First find dimensions of each variable std::map dims; @@ -113,6 +114,7 @@ SparseEigen sparseJacobianEigen( } SparseEigen sparseJacobianEigen(const GaussianFactorGraph &gfg) { + gttic_(SparseEigen_sparseJacobianEigen_defaultOrdering); return sparseJacobianEigen(gfg, Ordering(gfg.keys())); }