fixed build with older gtsam versions

This commit is contained in:
matlabbe
2019-01-29 19:06:28 -05:00
parent 0c24786912
commit c85ff90477
3 changed files with 12 additions and 12 deletions
@@ -10,7 +10,7 @@
#pragma once
// DerivedValue.h removed from gtsam repo (Dec 2018): https://github.com/borglab/gtsam/commit/e550f4f2aec423cb3f2791b81cb5858b8826ebac
// DerivedValue2.h removed from gtsam repo (Dec 2018): https://github.com/borglab/gtsam/commit/e550f4f2aec423cb3f2791b81cb5858b8826ebac
#include "DerivedValue.h"
#include <gtsam/base/Lie.h>
@@ -19,7 +19,7 @@ namespace vertigo {
/**
* SwitchVariableLinear is a wrapper around double to allow it to be a Lie type
*/
struct SwitchVariableLinear : public gtsam::DerivedValue<SwitchVariableLinear> {
struct SwitchVariableLinear : public rtabmap::DerivedValue<SwitchVariableLinear> {
/** default constructor */
SwitchVariableLinear() : d_(0.0) {};