fix wrapper
parent
69bb4db42d
commit
a34d09d094
|
|
@ -96,7 +96,7 @@ class GTSAM_EXPORT HybridValues {
|
||||||
* the key \c j is already used.
|
* the key \c j is already used.
|
||||||
* @param value The vector to be inserted.
|
* @param value The vector to be inserted.
|
||||||
* @param j The index with which the value will be associated. */
|
* @param j The index with which the value will be associated. */
|
||||||
void insert(Key j, int value) { discrete_[j] = value; };
|
void insert(Key j, size_t value) { discrete_[j] = value; };
|
||||||
|
|
||||||
/** Insert a vector \c value with key \c j. Throws an invalid_argument
|
/** Insert a vector \c value with key \c j. Throws an invalid_argument
|
||||||
* exception if the key \c j is already used.
|
* exception if the key \c j is already used.
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,11 @@ namespace gtsam {
|
||||||
|
|
||||||
#include <gtsam/hybrid/HybridValues.h>
|
#include <gtsam/hybrid/HybridValues.h>
|
||||||
class HybridValues {
|
class HybridValues {
|
||||||
gtsam::DiscreteValues discrete() const;
|
|
||||||
gtsam::VectorValues continuous() const;
|
gtsam::VectorValues continuous() const;
|
||||||
|
gtsam::DiscreteValues discrete() const;
|
||||||
|
|
||||||
HybridValues();
|
HybridValues();
|
||||||
HybridValues(const gtsam::DiscreteValues &dv, const gtsam::VectorValues &cv);
|
HybridValues(const gtsam::VectorValues &cv, const gtsam::DiscreteValues &dv);
|
||||||
void print(string s = "HybridValues",
|
void print(string s = "HybridValues",
|
||||||
const gtsam::KeyFormatter& keyFormatter =
|
const gtsam::KeyFormatter& keyFormatter =
|
||||||
gtsam::DefaultKeyFormatter) const;
|
gtsam::DefaultKeyFormatter) const;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue