Changes between Version 20 and Version 30 of Ticket #17130


Ignore:
Timestamp:
10/30/14 10:48:53 (6 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17130

    • Property Cc burcin added
  • Ticket #17130 – Description

    v20 v30  
    2323}}}
    2424
     25----
     26
     27Apart from this, this branch also removes lots of boilerplate from `_eval_` like
     28{{{
     29if not isinstance(x, Expression) and not isinstance(y, Expression) and \
     30        (is_inexact(x) or is_inexact(y)):
     31    x, y = coercion_model.canonical_coercion(x, y)
     32    return self._evalf_(x, y, s_parent(x))
     33}}}
     34by wrapping `_eval_` inside the new method `_evalf_or_eval_` which automatically does this boilerplate.
     35
     36----
     37
    2538Possible follow-ups: #10133, #14766