Changes between Version 1 and Version 2 of Ticket #18920, comment 37


Ignore:
Timestamp:
08/05/15 21:13:18 (6 years ago)
Author:
nbruin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18920, comment 37

    v1 v2  
    55}}}
    66it certainly avoids the extra parentheses around `li` and `psi` invocations. I've reported this workaround on the maxima bugtracker too. Hopefully Robert will comment there about any possible adverse effects. Including these statements in the maxima_calculus initialization in `maxima_lib.py` might do the trick (and possibly the change is accepted upstream!)
     7
     8'''EDIT:''' A better and more universal change is probably:
     9{{{
     10ecl_eval("(defprop MFUNCTION 190 lbp)")
     11}}}
     12This way it applies to all "MQAPPLY" calls. That could be problematic, of course, but it doesn't seem to be, probably because 190 is still high enough. Things go wrong if you go too low:
     13{{{
     14sage: maxima_calculus("(a+b)(t)")
     15(b+a)(t)
     16sage: ecl_eval("(defprop MFUNCTION 1 lbp)")
     17<ECL: 1>
     18sage: maxima_calculus("(a+b)(t)")
     19b+a(t)
     20}}}