[Ecls-list] bug with Ecl 11.1.1
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Fri Jan 21 19:47:02 UTC 2011
On Fri, Jan 21, 2011 at 7:17 PM, Oliver Kullmann
<O.Kullmann at swansea.ac.uk>wrote:
> (loop while 1 do
> (dolist (p *small-primes*)
> (if (= (mmod n p) 0) (return))
> (if (>= (* p p) n) (return-from next-prime-det n)))
> (incf n (nth (mmod n 210) deltaprimes)))
>
> For whatever reason, ecl doesn't execute the loop.
>
Bug identified. It was a typo in the code that determines the value of a
compiled constant. AFAI can tell, it only affects logical expressions in
which *constant* integers or floats are used as true/false values. I will
produce a patched release soon to fix this (the fix is in CVS and will be
tested tonight)
Juanjo
--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110121/04323fb7/attachment.html>
More information about the ecl-devel
mailing list