Changes between Initial Version and Version 1 of Ticket #24378, comment 15


Ignore:
Timestamp:
12/15/17 11:27:07 (4 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24378, comment 15

    initial v1  
    66
    77Indeed `numerical_approximation` of symbolic expression is lazily converting all arguments to the same parent. Which is very wrong when a function is defined on `R x N`.
     8
     9Perhaps it would be good to add in `_evalf_` the check
    810{{{
    911if not isinstance(index, numbers.Integral):
    1012    raise ValueError
    1113}}}
     14
    1215Though I am curious about this sympy misbehavior.