disambiguate double template >>

release/4.3a0
Gerry Chen 2021-01-27 10:58:26 -05:00
parent fa6bdd4042
commit 8063b9ae95
2 changed files with 4 additions and 4 deletions

View File

@ -182,7 +182,7 @@ namespace gtsam {
}
/* ************************************************************************* */
using BoostTriplets = std::vector<boost::tuple<size_t, size_t, double>>;
using BoostTriplets = std::vector<boost::tuple<size_t, size_t, double> >;
BoostTriplets GaussianFactorGraph::sparseJacobian() const {
BoostTriplets entries;
entries.reserve(60 * size());
@ -210,7 +210,7 @@ namespace gtsam {
}
/* ************************************************************************* */
using GtsamTriplets = std::vector<std::tuple<int, int, double>>;
using GtsamTriplets = std::vector<std::tuple<int, int, double> >;
GtsamTriplets GaussianFactorGraph::sparseJacobianFast(
const Ordering& ordering, size_t& nrows, size_t& ncols) const {
GtsamTriplets entries;

View File

@ -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<boost::tuple<size_t, size_t, double>> sparseJacobian() const;
std::vector<boost::tuple<size_t, size_t, double> > 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<std::tuple<int, int, double>> sparseJacobianFast(
std::vector<std::tuple<int, int, double> > sparseJacobianFast(
const Ordering& ordering, size_t& nrows, size_t& ncols) const;
/**