Open 299dd376-0904-4b01-92dc-d57318e7d9ab opened 4 years ago
Changed keywords from none to maxima
I opened ticket #29616 to discuss the error about the assumption being redundant, so this ticket can focus on the other issue: can the maxima code (%pi
) in the error message be automatically translated to sage syntax (pi
) before it is presented to the user?
Description changed:
---
+++
@@ -1,6 +1,7 @@
-Input `bug.sage`:
+Running sage on the following file `bug.sage` yields an error message saying that an "example of legal syntax is `assume(cos((4*%pi*m+%pi)/2)*z>0)`". However, this is not legal syntax, because `%pi` is a maxima constant, not a sage constant.
+# bug.sage m = var("m"); x = var("x"); y = var("y");
Setting new milestone based on a cursory review of ticket status, priority, and last modification date.
Running sage on the following file
bug.sage
yields an error message saying that an "example of legal syntax isassume(cos((4*%pi*m+%pi)/2)*z>0)
". However, this is not legal syntax, because%pi
is a maxima constant, not a sage constant.Output:
Component: interfaces
Keywords: maxima
Issue created by migration from https://trac.sagemath.org/ticket/29608