Ticket #553 (closed enhancement: fixed)
[with patch, positive review] calling of symbolic expressions is sometimes ridiculous
| Reported by: | was | Owned by: | mhansen |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.9 |
| Component: | calculus | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
The input should be
f = x^(1/9) + (2^(8/9) - 2^(1/9))*(x - 1) - x^(8/9)
Note that * before (x-1). That your input was accepted is an indication
that SAGE should be more restrictive with what it allows. What's
happening is that (2^(8/9) - 2^(1/9)) is parsed as a symbolic expression (a
constant function), and then 2^(8/9) - 2^(1/9))(x - 1) is the value of that
constant function at x-1. Yep, that this is allowed is ridiculous, and should
be changed (I've filed a bug report).
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

