Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #34235: Error in comparing two Symbolic Ring elements
It seems a bug: {{{ sage: bool(AA(sqrt(2))/pi == sqrt(2)/pi) TypeError: ECL says: THROW: The catch MACSYMA-QUIT is undefined. }}} The following comparison is fine, though. {{{ sage: bool(AA(sqrt(2)) == sqrt(2)) True }}} To fix this, we provide elements of `AA` and `QQbar` with a `_maxima_init_` method that - handles the case of elements for which Sage can find a radical expression and - raises an error in all other cases. This is better than sending the unusable print representation of algebraic numbers (including `?`) to Maxima. URL: https://trac.sagemath.org/34235 Reported by: yzh Ticket author(s): Matthias Koeppe Reviewer(s): Travis Scrimshaw
- Loading branch information