Fix insert
parent
d2fd155a3a
commit
fee651a357
|
|
@ -210,7 +210,7 @@ GaussianMixture::prunerFunc(const DecisionTreeFactor &decisionTree) {
|
||||||
DiscreteValues::CartesianProduct(set_diff);
|
DiscreteValues::CartesianProduct(set_diff);
|
||||||
for (const DiscreteValues &assignment : assignments) {
|
for (const DiscreteValues &assignment : assignments) {
|
||||||
DiscreteValues augmented_values(values);
|
DiscreteValues augmented_values(values);
|
||||||
augmented_values.insert(assignment.begin(), assignment.end());
|
augmented_values.insert(assignment);
|
||||||
|
|
||||||
// If any one of the sub-branches are non-zero,
|
// If any one of the sub-branches are non-zero,
|
||||||
// we need this conditional.
|
// we need this conditional.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue