fix wrapper
parent
69bb4db42d
commit
a34d09d094
|
|
@ -96,7 +96,7 @@ class GTSAM_EXPORT HybridValues {
|
|||
* the key \c j is already used.
|
||||
* @param value The vector to be inserted.
|
||||
* @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
|
||||
* exception if the key \c j is already used.
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ namespace gtsam {
|
|||
|
||||
#include <gtsam/hybrid/HybridValues.h>
|
||||
class HybridValues {
|
||||
gtsam::DiscreteValues discrete() const;
|
||||
gtsam::VectorValues continuous() const;
|
||||
gtsam::DiscreteValues discrete() const;
|
||||
|
||||
HybridValues();
|
||||
HybridValues(const gtsam::DiscreteValues &dv, const gtsam::VectorValues &cv);
|
||||
HybridValues(const gtsam::VectorValues &cv, const gtsam::DiscreteValues &dv);
|
||||
void print(string s = "HybridValues",
|
||||
const gtsam::KeyFormatter& keyFormatter =
|
||||
gtsam::DefaultKeyFormatter) const;
|
||||
|
|
|
|||
Loading…
Reference in New Issue