Skip to content

Commit

Permalink
Merge pull request #2280 from notoria/clpz
Browse files Browse the repository at this point in the history
Special case for `(^)/2`
  • Loading branch information
mthom authored Jan 9, 2024
2 parents cd89d71 + 902cd5c commit b56ae28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/clpz.pl
Original file line number Diff line number Diff line change
Expand Up @@ -5454,6 +5454,7 @@
morph_into_propagator(MState, [Y,Z], reified_eq(1,Y,1,0,[],Z), Morph)
; Y == 0 -> kill(MState), Z = 1
; Y == 1 -> kill(MState), Z = X
; Y == Z -> kill(MState), X = Y, queue_goal(X in -1\/1)
; nonvar(X) ->
( nonvar(Y) ->
( Y >= 0 -> true ; X =:= -1 ),
Expand Down

0 comments on commit b56ae28

Please sign in to comment.