Ticket #7491(closed defect: fixed)

Opened 4 years ago

solve(x==x,x) fails

Reported by: Owned by: robert.marik burcin major sage-4.3 symbolics N/A Karl-Dieter Crisman Robert Marik sage-4.3.rc1

Description

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

gives an exception.

Maxima says this:

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

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.        |
----------------------------------------------------------------------
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 3 years ago by kcrisman

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

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

comment:3 Changed 3 years ago by mhansen

• Status changed from positive_review to closed
• Authors set to Robert Marik
• Milestone changed from sage-4.3.1 to sage-4.3
• Reviewers set to Karl-Dieter Crisman
• Resolution set to fixed
• Merged in set to sage-4.3.rc1
Note: See TracTickets for help on using tickets.