Dear all,
In previous versions of Sagemath, I was able to do perfectly the (symbolic) integration of functions like unit_step( ), for example when doing symbolic convolutions.But in the latest versions of Sagemath (like 8.9 and the updated 9.0) the following message appears:*RuntimeError: Encountered operator mismatch in sr-to-maxima translation* I wonder if the problem is related with the change in python (now in python3). I would be very grateful if anyone could hep me on the subject. The complete error message is: File "/home/sc_serv/sagecell/interact_sagecell.py", line 122, in update_interact_msg update_interact(interact_id, name, content["values"][name], not content["update_last"]) File "/home/sc_serv/sagecell/interact_sagecell.py", line 112, in update_interact interact_info["function"](control_vals=kwargs) File "/home/sc_serv/sagecell/interact_sagecell.py", line 422, in adapted_f returned = f(*args, **control_vals) File "<ipython-input-1-b01a4322b3e5>", line 22, in _ fg = integrate(f(t=x)*g(t=t-x),x,Integer(0),t).simplify_full().expand() File "sage/symbolic/expression.pyx", line 4738, in sage.symbolic.expression.Expression.expand (build/cythonized/sage/symbolic/expression.cpp:28851) x = self._gobj.expand(0) File "sage/symbolic/function.pyx", line 1226, in sage.symbolic.function.BuiltinFunction._evalf_or_eval_ (build/cythonized/sage/symbolic/function.cpp:13413) return self._eval0_(*args) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/symbolic/integration/integral.py", line 205, in _eval_ A = integrator(*args) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/symbolic/integration/external.py", line 46, in maxima_integrator result = maxima.sr_integral(expression, v, a, b) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py", line 790, in sr_integral return max_to_sr(maxima_eval(([max_integrate],[sr_to_max(SR(a)) for a in args]))) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py", line 790, in <listcomp> return max_to_sr(maxima_eval(([max_integrate],[sr_to_max(SR(a)) for a in args]))) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py", line 1621, in sr_to_max [sr_to_max(o) for o in expr.operands()])) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py", line 1621, in <listcomp> [sr_to_max(o) for o in expr.operands()])) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py", line 1621, in sr_to_max [sr_to_max(o) for o in expr.operands()])) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py", line 1621, in <listcomp> [sr_to_max(o) for o in expr.operands()])) File "/home/sc_serv/sage/local/lib/python3.7/site-packages/sage/interfaces/maxima_lib.py", line 1617, in sr_to_max raise RuntimeError("Encountered operator mismatch in sr-to-maxima translation") RuntimeError: Encountered operator mismatch in sr-to-maxima translation -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/c813399b-7392-4e71-a094-b987f5e1f4ff%40googlegroups.com.