Opened 9 years ago

Last modified 6 years ago

#11520 needs_info defect

solve_ineq with boolean conditions fails

Reported by: pdehaye Owned by: burcin
Priority: minor Milestone: sage-6.4
Component: symbolics Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #13645 Stopgaps:

Description

var('x')
solve_ineq([x > 0, 5 > 2], x)

Traceback (click to the left of this block for traceback)
...
AttributeError: 'bool' object has no attribute '_maxima_'

Change History (7)

comment:1 Changed 8 years ago by chapoton

  • Status changed from new to needs_info

Of course, this fails because True is not an inequality.

sage: [x > 0, 5 > 2]
[x > 0, True]

Should we really do something to change this behaviour ?

comment:2 Changed 8 years ago by ppurka

  • Dependencies set to #13645

comment:3 Changed 7 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:4 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:5 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:6 Changed 6 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:7 Changed 6 years ago by rws

  • Priority changed from major to minor
Note: See TracTickets for help on using tickets.