Skip to content

Commit

Permalink
Merge pull request #2742 from triska/clpb
Browse files Browse the repository at this point in the history
Revert "FIXED: CLP(B): Delay BDD restriction until after the instantiation"
  • Loading branch information
mthom authored Jan 4, 2025
2 parents a683d3e + 333d674 commit 2856cc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib/clpb.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Author: Markus Triska
E-mail: [email protected]
WWW: https://www.metalevel.at
Copyright (C): 2019-2023 Markus Triska
Copyright (C): 2019-2025 Markus Triska
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -1150,8 +1150,9 @@
( integer(Other) ->
( between(0, 1, Other) ->
root_get_formula_bdd(Root, Sat, BDD0),
bdd_restriction(BDD0, I, Other, BDD),
root_put_formula_bdd(Root, Sat, BDD),
Gs = [bdd_restriction(BDD0,I,Other,BDD),satisfiable_bdd(BDD)]
Gs = [satisfiable_bdd(BDD)]
; no_truth_value(Other)
)
; atom(Other) ->
Expand Down

0 comments on commit 2856cc4

Please sign in to comment.