Fix memory error uncovered by valgrind
parent
fdc6e70978
commit
14d9855c53
|
@ -21,8 +21,8 @@
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
Matrix I = eye(1);
|
static Matrix I = eye(1);
|
||||||
Matrix I3 = eye(3);
|
static Matrix I3 = eye(3);
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
double computeThetaToRoot(const Key nodeKey, const PredecessorMap<Key>& tree,
|
double computeThetaToRoot(const Key nodeKey, const PredecessorMap<Key>& tree,
|
||||||
|
|
Loading…
Reference in New Issue