Post Reply 
Bug in "apply"
04-06-2018, 11:20 PM
Post: #1
Bug in "apply"
When I have: matrix m1 and do: apply(x->sin(x),row(m1,1)), OK, but when I do apply(x->sin(x),row(m1,1)*pi/180) or apply(x->sin(x*pi/180),row(m1,1)) it crashes the VC, it does not matter if I do * or .*. BTW I have the latest version of VC.
Find all posts by this user
Quote this message in a reply
04-07-2018, 08:38 AM
Post: #2
RE: Bug in "apply"
I tried both versions using matrix M1 where I have data in, they worked. Then I made a matrix m1:=[[1,4],[5,7]] and they worked.
Arno
Find all posts by this user
Quote this message in a reply
04-07-2018, 09:33 AM
Post: #3
RE: Bug in "apply"
I did the same thing as Arno. No problem here, either. In earlier firmware, after a lot of activity I found it necessary to use the VC menu bar:

Calculator | Reset.

This seemed to clear weird problems including crashes where, otherwise, the VC would not crash. On the latest firmware, I haven't had to do that, so this may not help.

-Dale-
Find all posts by this user
Quote this message in a reply
04-07-2018, 11:51 PM (This post was last modified: 04-07-2018 11:52 PM by John P.)
Post: #4
RE: Bug in "apply"
Thank you all.
I "restarted" the VC and now it works. What it was doing before was that VC hanged up and when I pressed "ON" the VC crashed.

Cheers
Find all posts by this user
Quote this message in a reply
Post Reply 




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