Ample coding problem

26 views
Skip to first unread message

Hadeer Aboqamer

unread,
Feb 28, 2015, 11:24:44 PM2/28/15
to am...@googlegroups.com
Greeting ,  
After I am typing my code and try to load the model it take too long and does not  give me any error message 
goldenSection.mod

Robert Fourer

unread,
Mar 3, 2015, 6:35:50 PM3/3/15
to am...@googlegroups.com
Perhaps your loop beginning

repeat while (e>1)

is not terminating because, due to some logic error, e never becomes <= 1. As a start on debugging, try adding the command "print e;" at the beginning of your loop, to see what values e is taking.

Bob Fourer
am...@googlegroups.com

=======
Reply all
Reply to author
Forward
0 new messages