Skip to content

Commit

Permalink
Update for agrum 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jun 28, 2024
1 parent ad929d5 commit 3344869
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
= 0.11 release (wip)

* Maintenance

= 0.10 release (2024-05-02)

* Maintenance
Expand Down
2 changes: 1 addition & 1 deletion lib/test/t_NamedDAG_std.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ void testSerialisation()
std::cout << "\n------------------\n";
OT::Study study2("tmp.xml");
study2.load();
std::cout << "Labels=" << study2.printLabels() << std::endl;
std::cout << "Labels=" << study2.getLabels() << std::endl;
std::cout << "\n------------------\n";

OTAGRUM::NamedDAG dag;
Expand Down
2 changes: 1 addition & 1 deletion lib/test/t_NamedDAG_std.expout
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ todo : digraph {
Before saving, NamedDAG, ndagFromTest

------------------
Labels=ndag
Labels=[ndag]

------------------
Before fill, NamedDAG, Unnamed
Expand Down
4 changes: 2 additions & 2 deletions lib/test/t_Utils_std.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,10 @@ void test_fromPotential()
auto distribution = Utils::FromPotential(p);

std::cout << "Marginal 0 " << distribution.getMarginal(0) << std::endl;
std::cout << "MarginalPotential 0 " << p.margSumIn({&y}) << std::endl;
std::cout << "MarginalPotential 0 " << p.sumIn({&y}) << std::endl;

std::cout << "Marginal 1 " << distribution.getMarginal(1) << std::endl;
std::cout << "MarginalPotential 1 " << p.margSumIn({&z}) << std::endl;
std::cout << "MarginalPotential 1 " << p.sumIn({&z}) << std::endl;
}

void test_fromInference()
Expand Down
2 changes: 1 addition & 1 deletion python/test/t_Utils_std.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_fromPotential():
distrib = otagrum.Utils.FromPotential(p)
print(distrib)

print(p.margSumIn(["y"]))
print(p.sumIn(["y"]))
print(distrib.getMarginal(1))


Expand Down

0 comments on commit 3344869

Please sign in to comment.