Post Reply 
BUG REPORT: Your Prime had a problem and will reboot in 3 seconds
11-21-2020, 06:11 PM (This post was last modified: 11-21-2020 08:05 PM by Han.)
Post: #1
BUG REPORT: Your Prime had a problem and will reboot in 3 seconds
M1:=[[1,2,3],[4,5,6]];
EDITMAT(M1, {"123", {"1", "22", "333"}});

The EDITMAT command has optional arguments to customize the display of a matrix -- namely the title, rows, and columns labels can be changed. The example above causes the calculator to reboot. If local variables are used in place of M1 (e.g. inside a program) then EDITMAT does not seem to crash, but it does not apply the title or labels.

Software Version: 2.1.14433 (2020 01 21)
Hardware Version: D
CAS Version: 1.5.0
Operating System: V2.060.650

EDIT: Also, incorporating the third option (read-only) -- whether 0 or 1 -- prevents the use of the custom title/row/column labels

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
11-21-2020, 07:02 PM
Post: #2
RE: BUG REPORT: Your Prime had a problem and will reboot in 3 seconds
Don't you need {"title", {rows},{columns}?

Like this:

EDITMAT(M1,{"123",{"1","2"},{"1","222","333"}})

-road
Find all posts by this user
Quote this message in a reply
11-21-2020, 08:04 PM (This post was last modified: 11-21-2020 08:21 PM by Han.)
Post: #3
RE: BUG REPORT: Your Prime had a problem and will reboot in 3 seconds
(11-21-2020 07:02 PM)roadrunner Wrote:  Don't you need {"title", {rows},{columns}?

Like this:

EDITMAT(M1,{"123",{"1","2"},{"1","222","333"}})

-road

Yes, you are correct. The point I was raising was that for wrong inputs, you get two different behaviors (neither of which is correct). In one case, you get a warmstart. In the other case, you don't get any errors. The correct behavior should be an invalid input error since the labels need to be of the form { "title", { "row1", "row2", ..., "rowM" }, { "col1", "col2", ..., "colN" }}.

There is yet another bug, and that is with the final option of read-only. Using either a 0 or 1 at the end prevents the custom title/row/column labels to be displayed.

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)