Menu

#1555 Bug in parrent matching, perhaps in findexpon

None
closed
nobody
None
5
2013-06-27
2008-12-28
Anonymous
No

This is a post from Maxima mail list and answer from R. Fateman:

http://thread.gmane.org/gmane.comp.mathematics.maxima.general/24555

Looks like a bug, perhaps in the definition or use of findexpon

> Hello I have the following code
>
> matchdeclare(g,true);
> defrule(myrule,exp(g),print("exp(g) entered with g=",g));
> myrule(2^(exp(x))); --- gives g=x but I expected false
> myrule(exp(exp(x))); ---- gives g=exp(x), as expected
> myrule(x^(exp(x))); ---- gives g=x but false have been expected
>
>
> Is this a bug in maxima or am I doing something wrong?
>

Discussion

  • Robert Dodier

    Robert Dodier - 2013-06-27
    • status: open --> closed
    • Group: --> None
     
  • Robert Dodier

    Robert Dodier - 2013-06-27

    Not present in current (post-5.30) version. Probably fixed by commit 82ced588a234, although I didn't verify that. Closing this report since bug is not present.

     

Log in to post a comment.