Ticket #1776 (closed defect: fixed)
[with patch, positive review] symbolic function preparser bug
| Reported by: | was | Owned by: | was |
|---|---|---|---|
| Priority: | major | Milestone: | sage-2.10 |
| Component: | calculus | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
sage: preparse('f(x) = x')
'_=var("x");f=symbolic_expression(x).function(x)'
sage: preparse('f(x) =+x')
'f(x) =+x'
sage: preparse('f(x) =-x')
'f(x) =-x'
This was found by Jason Grout, with input by Jaap Spies and John Cremona.
Attachments
Change History
Changed 5 years ago by was
-
attachment
trac1776.patch
added
slightly better fix (there is only one post-equals symbol, namely =). This also fixes typos and mistakes in some of the docs.
comment:2 Changed 5 years ago by jsp
Works for me! ---------------------------------------------------------------------- | SAGE Version 2.10.alpha2, Release Date: 2008-01-11 | | Type notebook() for the GUI, and license() for information. | ---------------------------------------------------------------------- sage: f(x)=-x sage: f(2) -2 Jaap
comment:3 Changed 5 years ago by jsp
- Summary changed from symbolic function preparser bug to symbolic function preparser bug [with patch, positive review]
Note: See
TracTickets for help on using
tickets.
