fix test
							parent
							
								
									62008fc995
								
							
						
					
					
						commit
						2fd60a47a2
					
				|  | @ -113,7 +113,8 @@ TEST(DiscreteFactorGraph, test) { | |||
|   const Ordering frontalKeys{0}; | ||||
|   const auto [conditional, newFactorPtr] = EliminateDiscrete(graph, frontalKeys); | ||||
| 
 | ||||
|   DecisionTreeFactor newFactor = *newFactorPtr; | ||||
|   DecisionTreeFactor newFactor = | ||||
|       *std::dynamic_pointer_cast<DecisionTreeFactor>(newFactorPtr); | ||||
| 
 | ||||
|   // Normalize newFactor by max for comparison with expected
 | ||||
|   auto normalization = newFactor.max(newFactor.size()); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue