use string based constructor

release/4.3a0
Varun Agrawal 2025-01-03 13:35:13 -05:00
parent ef2843c5b2
commit 3718cb19ed
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ TEST(DiscreteSerialization, TableFactor) {
using namespace serializationTestHelpers;
DiscreteKey A(Symbol('x', 1), 3);
TableFactor tf(A % "1/2/2");
TableFactor tf(A, "1 2 2");
EXPECT(equalsObj<TableFactor>(tf));
EXPECT(equalsXML<TableFactor>(tf));