Opened 11 years ago

Closed 11 years ago

Last modified 4 years ago

#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: Merged in: sage-4.3.rc1
Authors: Robert Mařík Reviewers: Karl-Dieter Crisman
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:


sage: solve([x==x],x)

gives an exception.

Maxima says this:

$ maxima -q
(%i1) solve([x=x],x);
(%o1)                                 all

There is a short discussion about this topic.

Attachments (1)

trac-7491-initial.patch (2.1 KB) - added by robert.marik 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by robert.marik

comment:1 Changed 11 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.

comment:2 Changed 11 years ago by kcrisman

  • Report Upstream set to N/A
  • Status changed from needs_review to positive_review

Positive review. I'm not sure what the changes in bring to the game, but they don't hurt either.

comment:3 Changed 11 years ago by mhansen

  • Authors set to Robert Marik
  • Merged in set to sage-4.3.rc1
  • Milestone changed from sage-4.3.1 to sage-4.3
  • Resolution set to fixed
  • Reviewers set to Karl-Dieter Crisman
  • Status changed from positive_review to closed

comment:4 Changed 4 years ago by chapoton

  • Authors changed from Robert Marik to Robert Mařík
Note: See TracTickets for help on using tickets.