Closed RenatoGeh closed 2 years ago
The issue seems to be coming from smoothing line sstructplc = smooth(structplc)
. We have few other tests that work with cnfs, so either something wrong with this CNF or an edge case of smooth
function.
function compile(::Type{<:StructProbCircuit}, sdd::Sdd)::StructProbCircuit
lc = LogicCircuit(sdd)
plc = propagate_constants(lc, remove_unary=true)
structplc = compile(StructLogicCircuit, vtree(sdd), plc)
sstructplc = smooth(structplc)
compile(StructProbCircuit, sstructplc)
end
Fixed by above PR on LogicCircuits.
Hi,
Caught this error when trying to compile a PSDD from an SDD. Here's a minimal working example:
Where
test.cnf
is as follows.Here's the traceback:
Thanks