Skip to content

Commit

Permalink
address the issue of duplicating discrete factors
Browse files Browse the repository at this point in the history
  • Loading branch information
jungseokhong committed Jun 19, 2024
1 parent b7f6229 commit a8d62a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DCSAM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void DCSAM::update(const gtsam::NonlinearFactorGraph &graph,
updateContinuousInfo(currDiscrete_, combined, initialGuessContinuous);
currContinuous_ = isam_.calculateEstimate();
// Update discrete info from last solve and
updateDiscrete(discreteCombined, currContinuous_, currDiscrete_);
updateDiscreteInfo(currContinuous_, currDiscrete_);
}

void DCSAM::update(const HybridFactorGraph &hfg,
Expand Down

0 comments on commit a8d62a4

Please sign in to comment.