Ticket #7491 (closed defect: fixed)
solve(x==x,x) fails
| Reported by: | robert.marik | Owned by: | burcin |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.3 |
| Component: | symbolics | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | N/A | Reviewers: | Karl-Dieter Crisman |
| Authors: | Robert Marik | Merged in: | sage-4.3.rc1 |
| Dependencies: | Stopgaps: |
Description
sage: solve([x==x],x)
gives an exception.
Maxima says this:
$ maxima -q (%i1) solve([x=x],x); (%o1) all (%i2)
There is a short discussion about this topic.
Attachments
Change History
comment:1 Changed 4 years ago by robert.marik
- Status changed from new to needs_review
attached patch does the following
[marik@um-bc107 /opt/sage]$ ./sage
----------------------------------------------------------------------
| Sage Version 4.2.1, Release Date: 2009-11-14 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: solve
sage: y=var('y');solve(SR(0),y,solution_dict=True)
{y: r1}
sage: y=var('y');solve(SR(0),y,solution_dict=True,multiplicities=True)
({y: r1}, [])
sage: solve(x==x,x,multiplicities=True)
([x == r1], [])
All tests in symbolic and calculus passed.
Note: See
TracTickets for help on using
tickets.

