Skip to content

Commit

Permalink
cleaner way of assigning discrete values
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Dec 22, 2022
1 parent d94b319 commit 23ec7ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtsam/hybrid/tests/testHybridBayesNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ TEST(HybridBayesNet, Error) {

// Verify error computation and check for specific error value
DiscreteValues discrete_values;
insert(discrete_values)(M(0), 1)(M(1), 1);
boost::assign::insert(discrete_values)(M(0), 1)(M(1), 1);

double total_error = 0;
for (size_t idx = 0; idx < hybridBayesNet->size(); idx++) {
Expand Down

0 comments on commit 23ec7ed

Please sign in to comment.