Ticket #4448 (closed defect: fixed)
[with patch, positive review] easy-to-fix (?) bug in interact with matrices
| Reported by: | was | Owned by: | itolkov |
|---|---|---|---|
| Priority: | major | Milestone: | sage-3.2 |
| Component: | interact | Keywords: | |
| Cc: | Work issues: | ||
| Report Upstream: | Reviewers: | ||
| Authors: | Merged in: | ||
| Dependencies: | Stopgaps: |
Description
Try this interact in the notebook:
@interact
def f(n=matrix([[pi^2]])):
print n
Notice that the matrix input appears empty. What is happening, I think, is that str(...) is being called on each entry instead of repr(...) which causes uses of ASCII art. It seems this is a problem only for matrices.
Attachments
Change History
comment:1 Changed 5 years ago by jason
- Summary changed from easy-to-fix (?) bug in interact with matrices to [with patch, needs review] easy-to-fix (?) bug in interact with matrices
Indeed, that was the problem.
Note: See
TracTickets for help on using
tickets.

