Opened 11 years ago

Closed 11 years ago

# solve(x==x,x) fails

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

### Description

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

gives an exception.

Maxima says this:

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

### 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.        |
----------------------------------------------------------------------
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 relation.py 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.