fix factor construction

release/4.3a0
Varun Agrawal 2025-01-03 15:21:49 -05:00
parent be7be376a9
commit 6b6283c151
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ TEST(DecisionTreeFactor, constructors) {
/* ************************************************************************* */
TEST(DecisionTreeFactor, Divide) {
DiscreteKey A(0, 2), S(1, 2);
DecisionTreeFactor pA(A % "99/1"), pS(S % "50/50");
DecisionTreeFactor pA = create(A % "99/1"), pS = create(S % "50/50");
DecisionTreeFactor joint = pA * pS;
DecisionTreeFactor s = joint / pA;
EXPECT(assert_equal(pS, s));