Revert "FIXED: CLP(B): Delay BDD restriction until after the instantiation."
This reverts commite185b626bd. This change is now no longer needed, and the underlying issue is apparently somewhere else entirely. See the description at: https://github.com/mthom/scryer-prolog/issues/2732 Current master behaves differently from Scryer as it was at099d9aaca6(i.e., preceding the commit that is now being reverted), even on the same file. For an example, see:dd41176b97Scryer now works as expected, and compatibly with SICStus. We still need to find out what fixed the root cause of this issue.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
Author: Markus Triska
|
Author: Markus Triska
|
||||||
E-mail: triska@metalevel.at
|
E-mail: triska@metalevel.at
|
||||||
WWW: https://www.metalevel.at
|
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
|
Permission is hereby granted, free of charge, to any person
|
||||||
obtaining a copy of this software and associated documentation
|
obtaining a copy of this software and associated documentation
|
||||||
@@ -1150,8 +1150,9 @@ verify_attributes(Var, Other, Gs) :-
|
|||||||
( integer(Other) ->
|
( integer(Other) ->
|
||||||
( between(0, 1, Other) ->
|
( between(0, 1, Other) ->
|
||||||
root_get_formula_bdd(Root, Sat, BDD0),
|
root_get_formula_bdd(Root, Sat, BDD0),
|
||||||
|
bdd_restriction(BDD0, I, Other, BDD),
|
||||||
root_put_formula_bdd(Root, Sat, 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)
|
; no_truth_value(Other)
|
||||||
)
|
)
|
||||||
; atom(Other) ->
|
; atom(Other) ->
|
||||||
|
|||||||
Reference in New Issue
Block a user