Post Reply 
Differences in Home vs CAS
10-21-2022, 03:00 PM
Post: #6
RE: Differences in Home vs CAS
(10-21-2022 10:02 AM)parisse Wrote:  That's precisely why I suggest you to run your program in step by step mode. From CAS commandline, run debug(conjugate_gradient(arguments)) instead of conjugate_gradient(arguments). This way you will know which line of the program raises the error.

(10-21-2022 12:42 AM)ftneek Wrote:  When I use the debug() command on the CAS version of the program, it throws the error when rowsum() returns. Any ideas why?

When I use debug(conjugate_gradient(arguments)) in CAS mode I only see code from the rowsum function. I tried stepping through it a few times and the error is thrown when rowsum finishes executing. When I use my own implementation for row sum, the error is thrown after line 6 of the debugger, when I use the implementation by @Didier it is thrown after line 1. I’m just having a hard time understanding why I only see the code for rowsum in the debugger and why I’m getting an error after rowsum executes.

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


Messages In This Thread
Differences in Home vs CAS - ftneek - 10-19-2022, 08:55 PM
RE: Differences in Home vs CAS - parisse - 10-20-2022, 05:56 AM
RE: Differences in Home vs CAS - ftneek - 10-21-2022, 12:42 AM
RE: Differences in Home vs CAS - parisse - 10-21-2022, 10:02 AM
RE: Differences in Home vs CAS - ftneek - 10-21-2022 03:00 PM
RE: Differences in Home vs CAS - parisse - 10-21-2022, 03:52 PM
RE: Differences in Home vs CAS - ftneek - 10-21-2022, 05:43 PM



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