Skip to content

Commit

Permalink
Fix wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
dellaert committed Sep 28, 2024
1 parent e319018 commit 3567cbb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gtsam/hybrid/hybrid.i
Original file line number Diff line number Diff line change
Expand Up @@ -245,16 +245,16 @@ class HybridNonlinearFactorGraph {
class HybridNonlinearFactor : gtsam::HybridFactor {
HybridNonlinearFactor(
const gtsam::DiscreteKey& discreteKey,
const std::vector<gtsam::NonlinearFactor*>& factors);
const std::vector<gtsam::NoiseModelFactor*>& factors);

HybridNonlinearFactor(
const gtsam::DiscreteKey& discreteKey,
const std::vector<std::pair<gtsam::NonlinearFactor*, double>>& factors);
const std::vector<std::pair<gtsam::NoiseModelFactor*, double>>& factors);

HybridNonlinearFactor(
const gtsam::DiscreteKeys& discreteKeys,
const gtsam::DecisionTree<
gtsam::Key, std::pair<gtsam::NonlinearFactor*, double>>& factors);
gtsam::Key, std::pair<gtsam::NoiseModelFactor*, double>>& factors);

double error(const gtsam::Values& continuousValues,
const gtsam::DiscreteValues& discreteValues) const;
Expand Down

0 comments on commit 3567cbb

Please sign in to comment.