1 | | This is from comment 2 in #9769 by burcin: |
2 | | > {{{ |
3 | | > sage: x = PolynomialRing(RR, 'x').gen() |
4 | | > sage: sin(x) |
5 | | > <boom> |
6 | | > }}} |
7 | | > |
8 | | > The problem here is really coercion, but it should be copied to another ticket (in the basic_arithmetic component): |
9 | | > The `__call__()` function of RR[x] doesn't conform to the generic definition. You should be able to give the parameters as a keyword argument as well. This should be made to work: |
10 | | > |
11 | | > {{{ |
12 | | > sage: R.<x> = RR[] |
13 | | > sage: (x^2+1)(x=5) |
14 | | > 11 |
15 | | > }}} |
| 1 | Edit: my copy of another comment was unrelated so I deleted it |