Fixed compile issue in Debug mode

release/4.3a0
dellaert 2014-11-14 02:13:11 +01:00
parent 350522645f
commit 865b0c0129
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#include <gtsam/base/Testable.h>
#include <CppUnitLite/TestHarness.h>
#include <algorithm>
using namespace std;
using namespace gtsam;
@ -143,7 +144,7 @@ TEST(ExpressionFactor, Triple) {
// Test out invoke
TEST(ExpressionFactor, Invoke) {
assert(invoke(add,boost::fusion::make_vector(1,1)) == 2);
EXPECT_LONGS_EQUAL(2, invoke(plus<int>(),boost::fusion::make_vector(1,1)));
// Creating a Pose3 (is there another way?)
boost::fusion::vector<Rot3, Point3> pair;