aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-05-24 21:01:22 +0000
committerdos-reis <gdr@axiomatics.org>2008-05-24 21:01:22 +0000
commitb366261f80ac518a14ad3c12ca7c0f77fc7d7474 (patch)
treedaa9531d34d8f94e507a7164b1bb0a2e8f0cd662 /src/interp
parentb244fd5723c6c7951c36a89744240f04eec8c795 (diff)
downloadopen-axiom-b366261f80ac518a14ad3c12ca7c0f77fc7d7474.tar.gz
* interp/i-coerce.boot (retract2Specialization): Leave if object
is an Expression, but not a fraction.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/i-coerce.boot1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interp/i-coerce.boot b/src/interp/i-coerce.boot
index 233a3b91..9a2b078e 100644
--- a/src/interp/i-coerce.boot
+++ b/src/interp/i-coerce.boot
@@ -212,6 +212,7 @@ retract2Specialization object ==
null isRectangularList(val',n,m) => NIL
coerceInt(object,['Matrix,D'])
type is ['Expression,D] =>
+ atom val' => nil -- certainly not a fraction
[num,:den] := val'
-- coerceRetract already handles case where den = 1
num isnt [0,:num] => NIL