Opened 2 months ago

Last modified 4 weeks ago

#32896 new defect

Maxima's sign problem with I

Reported by: gh-ortollj Owned by:
Priority: major Milestone: sage-9.6
Component: symbolics Keywords: Maxima, ECL, simplify_full
Cc: slelievre Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by slelievre)

The code below:

sage: h(t) = sqrt(abs(-2*I*cos(t)*sin(t) + 2*sin(t)^2))
sage: h.simplify_full()

generates an error:

TypeError: ECL says: Error executing code in Maxima: sign: argument cannot be imaginary; found %i

Initial report:

Change History (4)

comment:1 Changed 2 months ago by slelievre

  • Cc slelievre added
  • Component changed from algebra to symbolics
  • Description modified (diff)
  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 2 months ago by slelievre

  • Description modified (diff)
  • Keywords Maxima ECL simplify_full added

comment:3 Changed 2 months ago by gh-spaghettisalat

I have two merge requests open with maxima fixing sign issues (https://sourceforge.net/p/maxima/code/merge-requests/26/, https://sourceforge.net/p/maxima/code/merge-requests/27/). You can try and see if those fix the issue.

comment:4 Changed 4 weeks ago by mkoeppe

  • Milestone changed from sage-9.5 to sage-9.6
Note: See TracTickets for help on using tickets.