Changes between Initial Version and Version 1 of Ticket #14229, comment 8


Ignore:
Timestamp:
05/27/13 13:50:51 (8 years ago)
Author:
ppurka
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14229, comment 8

    initial v1  
    11`0==0` can appear, but `bool(0==0)` should evaluate to True. Which is fine by me. The point is to remove solutions which are clearly false. Anyway, this patch is going nowhere since nbruin suggests putting this upstream (I can not do that now).
     2
     3''EDIT'': `bool(solution_list)` is done only when a symbolic expression (i.e., not a list of symbolic expressions) is input and there are no variables in the symbolic expression. This shouldn't introduce a significant slowdown. The solve function itself will probably take way more time than what these boolean checks will take.