Merge pull request #1552 from arutkowski/TableFactor_no_boost
commit
e444ee1ec4
|
@ -21,7 +21,6 @@
|
||||||
#include <gtsam/discrete/TableFactor.h>
|
#include <gtsam/discrete/TableFactor.h>
|
||||||
#include <gtsam/hybrid/HybridValues.h>
|
#include <gtsam/hybrid/HybridValues.h>
|
||||||
|
|
||||||
#include <boost/format.hpp>
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -203,7 +202,7 @@ void TableFactor::print(const string& s, const KeyFormatter& formatter) const {
|
||||||
cout << s;
|
cout << s;
|
||||||
cout << " f[";
|
cout << " f[";
|
||||||
for (auto&& key : keys())
|
for (auto&& key : keys())
|
||||||
cout << boost::format(" (%1%,%2%),") % formatter(key) % cardinality(key);
|
cout << " (" << formatter(key) << "," << cardinality(key) << "),";
|
||||||
cout << " ]" << endl;
|
cout << " ]" << endl;
|
||||||
for (SparseIt it(sparse_table_); it; ++it) {
|
for (SparseIt it(sparse_table_); it; ++it) {
|
||||||
DiscreteValues assignment = findAssignments(it.index());
|
DiscreteValues assignment = findAssignments(it.index());
|
||||||
|
|
|
@ -13,7 +13,7 @@ if (NOT GTSAM_USE_BOOST_FEATURES)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
if (NOT GTSAM_ENABLE_BOOST_SERIALIZATION)
|
||||||
list(APPEND excluded_tests "testSerializationSLAM.cpp")
|
list(APPEND excluded_tests "testSerializationSlam.cpp")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Build tests
|
# Build tests
|
||||||
|
|
Loading…
Reference in New Issue