You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a ternary And with the RSDD CLI, RSDD only considers the first two arguments in the conjunction, and ignores the third. This is the case for all n-ary operations with n>2.
Bug:
When doing a ternary
And
with the RSDD CLI, RSDD only considers the first two arguments in the conjunction, and ignores the third. This is the case for all n-ary operations with n>2.Repro Steps:
Command:
cargo run --release --bin weighted_model_count --features="cli" -- -f minimal_example.sexp -w minimal_example_weights.json
minimal_example.sexp
:
minimal_example_weights.json
:
Outputs:
Expected Output:
Actual Output:
Notes:
There is a workaround to this issue that you can just do nesting of binary conjunctions. For example using the following formula file.
minimal_example_workaround.sexp
:This is fine, but RSDD should at least error on invalid input instead of giving an incorrect output.
The text was updated successfully, but these errors were encountered: