diff options
author | dos-reis <gdr@axiomatics.org> | 2008-05-24 21:01:22 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-05-24 21:01:22 +0000 |
commit | b366261f80ac518a14ad3c12ca7c0f77fc7d7474 (patch) | |
tree | daa9531d34d8f94e507a7164b1bb0a2e8f0cd662 | |
parent | b244fd5723c6c7951c36a89744240f04eec8c795 (diff) | |
download | open-axiom-b366261f80ac518a14ad3c12ca7c0f77fc7d7474.tar.gz |
* interp/i-coerce.boot (retract2Specialization): Leave if object
is an Expression, but not a fraction.
-rw-r--r-- | src/ChangeLog | 3 | ||||
-rw-r--r-- | src/interp/i-coerce.boot | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index f830da0b..7e92aae9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2008-05-24 Gabriel Dos Reis <gdr@cs.tamu.edu> + * interp/i-coerce.boot (retract2Specialization): Leave if object + is an Expression, but not a fraction. + * interp/define.boot (compDefineFunctor1): Robustify. * hyper/parse-types.c (htperror): Fix thinko. 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 |