<< Back to previous view

[LOGIC-90] These three FD constraints seem to diverge with certain domains Created: 01/Jan/13  Updated: 28/Jul/13  Resolved: 01/Jan/13

Status: Closed
Project: core.logic
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Blocker
Reporter: Gary Fredericks Assignee: David Nolen
Resolution: Completed Votes: 0
Labels: None

clojure 1.5.0-beta1, core.logic 0.8.0-beta4


This code:

(run 1 [a b c d]
     (infd a b c d (interval 0 3))
     (<fd a b)
     (<fd c d)
     (<fd d a))


([2 3 0 1])
as expected. However, if we change the interval to (interval 0 4) it seems to diverge. The behavior is the same between (domain 0 1 2 3) and (domain 0 1 2 3 4).

Comment by David Nolen [ 01/Jan/13 1:45 PM ]

fixed, http://github.com/clojure/core.logic/commit/7ea49dffb057df6775a5b98d869bfef44ae83ec9

Generated at Sun Jan 21 07:06:20 CST 2018 using JIRA 4.4#649-r158309.