Skip to content

Commit

Permalink
use string based constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
varunagrawal committed Jan 3, 2025
1 parent ef2843c commit 3718cb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gtsam/discrete/tests/testSerializationDiscrete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 3718cb1

Please sign in to comment.