compile( ) bug



On Wed, Apr 21, 2010 at 11:34 PM, Richard Fateman
<fateman at cs.berkeley.edu> wrote:

> g(x):=is(x>10);
>
> f(x):=if g(x) then 1 else 2;
>
> f(11); ?works ... but
>
> compile(f);
> f(11); ?crashes with "the variable $g is unbound"
>
> on GCL maxima 5.20.1

I might have fixed that bug recently.
Can you try it again with 5.21 ?

Robert Dodier