diff --git a/.cproject b/.cproject
index ce0ab3c4c..8a2eaaf1c 100644
--- a/.cproject
+++ b/.cproject
@@ -584,7 +584,6 @@
make
-
tests/testBayesTree.run
true
false
@@ -592,7 +591,6 @@
make
-
testBinaryBayesNet.run
true
false
@@ -640,7 +638,6 @@
make
-
testSymbolicBayesNet.run
true
false
@@ -648,7 +645,6 @@
make
-
tests/testSymbolicFactor.run
true
false
@@ -656,7 +652,6 @@
make
-
testSymbolicFactorGraph.run
true
false
@@ -672,7 +667,6 @@
make
-
tests/testBayesTree
true
false
@@ -1104,7 +1098,6 @@
make
-
testErrors.run
true
false
@@ -1334,46 +1327,6 @@
true
true
-
- make
- -j5
- testBTree.run
- true
- true
- true
-
-
- make
- -j5
- testDSF.run
- true
- true
- true
-
-
- make
- -j5
- testDSFMap.run
- true
- true
- true
-
-
- make
- -j5
- testDSFVector.run
- true
- true
- true
-
-
- make
- -j5
- testFixedVector.run
- true
- true
- true
-
make
-j2
@@ -1456,6 +1409,7 @@
make
+
testSimulated2DOriented.run
true
false
@@ -1495,6 +1449,7 @@
make
+
testSimulated2D.run
true
false
@@ -1502,6 +1457,7 @@
make
+
testSimulated3D.run
true
false
@@ -1515,6 +1471,46 @@
true
true
+
+ make
+ -j5
+ testBTree.run
+ true
+ true
+ true
+
+
+ make
+ -j5
+ testDSF.run
+ true
+ true
+ true
+
+
+ make
+ -j5
+ testDSFMap.run
+ true
+ true
+ true
+
+
+ make
+ -j5
+ testDSFVector.run
+ true
+ true
+ true
+
+
+ make
+ -j5
+ testFixedVector.run
+ true
+ true
+ true
+
make
-j5
@@ -1780,7 +1776,6 @@
cpack
-
-G DEB
true
false
@@ -1788,7 +1783,6 @@
cpack
-
-G RPM
true
false
@@ -1796,7 +1790,6 @@
cpack
-
-G TGZ
true
false
@@ -1804,7 +1797,6 @@
cpack
-
--config CPackSourceConfig.cmake
true
false
@@ -2537,6 +2529,14 @@
true
true
+
+ make
+ -j4
+ testOptionalJacobian.run
+ true
+ true
+ true
+
make
-j5
@@ -2675,7 +2675,6 @@
make
-
testGraph.run
true
false
@@ -2683,7 +2682,6 @@
make
-
testJunctionTree.run
true
false
@@ -2691,7 +2689,6 @@
make
-
testSymbolicBayesNetB.run
true
false
@@ -3291,6 +3288,7 @@
make
+
tests/testGaussianISAM2
true
false
diff --git a/gtsam/base/OptionalJacobian.h b/gtsam/base/OptionalJacobian.h
index 08b8151dc..2ea9d672e 100644
--- a/gtsam/base/OptionalJacobian.h
+++ b/gtsam/base/OptionalJacobian.h
@@ -100,7 +100,7 @@ public:
/// Return true is allocated, false if default constructor was used
operator bool() const {
- return map_.data();
+ return map_.data() != NULL;
}
/// De-reference, like boost optional
@@ -156,7 +156,7 @@ public:
/// Return true is allocated, false if default constructor was used
operator bool() const {
- return pointer_;
+ return pointer_!=NULL;
}
/// De-reference, like boost optional