workaround c++ bad design: don't allow creating a factor graph from some pointer
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
FactorGraph*
|
||||
BayesBall::getMinimalFactorGraph (const VarIds& queryIds)
|
||||
{
|
||||
assert (fg_.isFromBayesNetwork());
|
||||
assert (fg_.bayesianFactors());
|
||||
Scheduling scheduling;
|
||||
for (size_t i = 0; i < queryIds.size(); i++) {
|
||||
assert (dag_.getNode (queryIds[i]));
|
||||
|
Reference in New Issue
Block a user