diff --git a/gtsam/linear/GaussianFactorGraph.cpp b/gtsam/linear/GaussianFactorGraph.cpp index 4c0576934..6a359e9d1 100644 --- a/gtsam/linear/GaussianFactorGraph.cpp +++ b/gtsam/linear/GaussianFactorGraph.cpp @@ -182,7 +182,7 @@ namespace gtsam { } /* ************************************************************************* */ - using BoostTriplets = std::vector>; + using BoostTriplets = std::vector >; BoostTriplets GaussianFactorGraph::sparseJacobian() const { BoostTriplets entries; entries.reserve(60 * size()); @@ -210,7 +210,7 @@ namespace gtsam { } /* ************************************************************************* */ - using GtsamTriplets = std::vector>; + using GtsamTriplets = std::vector >; GtsamTriplets GaussianFactorGraph::sparseJacobianFast( const Ordering& ordering, size_t& nrows, size_t& ncols) const { GtsamTriplets entries; diff --git a/gtsam/linear/GaussianFactorGraph.h b/gtsam/linear/GaussianFactorGraph.h index b54799f52..661d0a4a8 100644 --- a/gtsam/linear/GaussianFactorGraph.h +++ b/gtsam/linear/GaussianFactorGraph.h @@ -187,7 +187,7 @@ namespace gtsam { * The standard deviations are baked into A and b * @return the sparse matrix as a std::vector of boost tuples */ - std::vector> sparseJacobian() const; + std::vector > sparseJacobian() const; /** * Matrix version of sparseJacobian: generates a 3*m matrix with [i,j,s] @@ -203,7 +203,7 @@ namespace gtsam { * @param[out] nrows The number of rows in the Jacobian * @param[out] ncols The number of columns in the Jacobian */ - std::vector> sparseJacobianFast( + std::vector > sparseJacobianFast( const Ordering& ordering, size_t& nrows, size_t& ncols) const; /**