Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

User Comments on Random Walk 1D Continuous Model (3)

Return to Item Detail Page
Login to comment

First Walker doesn't move

Author: Holger Becker
Posted: July 15, 2012 at 5:33AM

With the default setting #=1, the Walker doesn't move. With #=2 only one Walker moves, the other standing still at 0 etc.

» reply

Re: First Walker doesn't move

Author: Holger Becker
Posted: Jul 15, 2012 at 5:47AM

> On Jul 15, 2012, Holger Becker posted:
>
> With the default
> setting #=1, the Walker doesn't move. With #=2 only
> one Walker moves, the other standing still at 0 etc.

To change this:

Decrease i under Evolution

for(int i=0; i

» reply

Re: Re: First Walker doesn't move

Author: Wolfgang
Posted: Jul 15, 2012 at 5:06PM

Evolution bug fixed so that walker[0] also moves.

» reply