Skip to content

Commit

Permalink
Fix wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dellaert committed Dec 31, 2022
1 parent b86c8bb commit 2c27669
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions gtsam/hybrid/hybrid.i
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ class HybridValues {
const gtsam::KeyFormatter& keyFormatter =
gtsam::DefaultKeyFormatter) const;
bool equals(const gtsam::HybridValues& other, double tol) const;

void insert(gtsam::Key j, int value);
void insert(gtsam::Key j, const gtsam::Vector& value);

void insert(const gtsam::VectorValues& values);
void insert(const gtsam::DiscreteValues& values);
void insert(const gtsam::HybridValues& values);

void update(const gtsam::VectorValues& values);
void update(const gtsam::DiscreteValues& values);
void update(const gtsam::HybridValues& values);

size_t& atDiscrete(gtsam::Key j);
gtsam::Vector& at(gtsam::Key j);
};
Expand Down
1 change: 1 addition & 0 deletions gtsam/linear/linear.i
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ class VectorValues {
void insert(size_t j, Vector value);
Vector vector() const;
Vector at(size_t j) const;
void insert(const gtsam::VectorValues& values);
void update(const gtsam::VectorValues& values);

//Advanced Interface
Expand Down

0 comments on commit 2c27669

Please sign in to comment.