(/ 1 1 1 1) fails

Bug #243743 reported by Pinku Surana
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Fix Committed
Low
Abdulaziz Ghuloum

Bug Description

> (/ 1 1 1 1)
Unhandled exception
 Condition components:
   1. &assertion
   2. &who: cdr
   3. &message: "argument does not have required pair structure"
   4. &irritants: (())

The bug is in ikarus.numerics.ss:

=== modified file 'scheme/ikarus.numerics.ss'
--- scheme/ikarus.numerics.ss 2008-06-28 09:25:44 +0000
+++ scheme/ikarus.numerics.ss 2008-06-28 15:20:21 +0000
@@ -1290,7 +1290,7 @@
       [(x y z . rest)
        (let f ([a (binary/ x y)] [b z] [ls rest])
          (cond
- [(null? rest) (binary/ a b)]
+ [(null? ls) (binary/ a b)]
            [else (f (binary/ a b) (car ls) (cdr ls))]))]))

Related branches

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote :

Thanks. Fixed in 1526.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Low
status: New → Fix Committed
Changed in ikarus:
milestone: none → 0.0.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.