Post Reply 
Conic Section...
02-19-2018, 05:43 PM
Post: #3
RE: Conic Section...Test/debugging (Puzzling)
That's because aa has only two elements, has(aa[3],y) should stop the program and error, but aa[3] is inside has() and since there is no exceptions on the Prime, an error string object is passed to has and this causes the crash. I have commited a fix for the crash, but your code will still have to handle the size of aa (for example you might insert a 0 at the begnning if size(aa)==2).
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Conic Section... - toshk - 02-19-2018, 08:21 AM
RE: Conic Section...Test/debugging (Puzzling) - parisse - 02-19-2018 05:43 PM
RE: Conic Section... - toshk - 03-08-2018, 07:52 AM



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