aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
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