[eclipse-users] ic(sets) bug

From: Malcolm Ryan <malcolmr_at_cse.unsw.edu.au>
Date: Wed, 13 Jun 2007 11:55:38 +1000
I've discovered a problem with ic(sets):

[eclipse 9]: #([3,2,1], L).

No (0.00s cpu)
[eclipse 10]: #([1,2,3], L).

L = 3
Yes (0.00s cpu)

The problem appears to be in line 1629 of generic_sets.ecl:

	    Value = LowerSorted

This should probably be:

	    Value = LowerList

So that the value argument of Attr is the same as the value of the  
expression [3,2,1] not the sorted version [1,2,3].

Malcolm

--
"Our age is not willing to stop with faith,
     with its miracle of turning water into wine,
         it goes further, it turns wine into water."
             -- Soren Kierkegaard, "Fear and Trembling"
Received on Wed Jun 13 2007 - 02:56:34 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET