Skip to content
Prev 279412 / 398506 Next

Problem in while loop

Your code is not reproducible nor minimal, but why don't you put a
command print(acceptprob) in and see if you are getting reasonable
values. If these values are extremely low it shouldn't surprise you
that your loop takes a long time to run.

More generally, read up on the use of print() and browser() as debugging tools.

Michael

On Mon, Dec 5, 2011 at 3:47 PM, Gyanendra Pokharel
<gyanendra.pokharel at gmail.com> wrote: