Skip to content

Fix crash and remove pexpect-Maxima usage in Y(m,n) #20939

@rwst

Description

@rwst
sage: spherical_harmonic(3, 2, 1, 2*pi/3)
...
TypeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined.

The eval function of SphericalHarmonic uses pexpect-Maxima. Since this needs only a formula the call to Maxima could be replaced by a few lines of Python.

http://dlmf.nist.gov/14.30.E1

Replacing pexpect-Maxima is part of #17753.

Depends on #21614
Depends on #21963

Upstream: Fixed upstream, in a later stable release.

Component: symbolics

Author: Ralf Stephan

Branch/Commit: bb4630f

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/20939

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions