Subject: | |
From: | |
Reply To: | |
Date: | Tue, 11 Sep 2012 15:16:14 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Most odd. That error is generated if, within a schedule.step(), schedule.step() is called recursively (a no-no). My only guess is that you manually checkpointed in an unusual location, most likely within an agent's step method, rather than outside of the schedule. How did you checkpoint this?
Generally you should only perform checkpoints outside of the schedule's step() call. Do not checkpoint *inside* a any step() call.
Sean
On Sep 11, 2012, at 2:12 PM, Daniel Gribel wrote:
> Hi all,
>
> When I try to resume (play) a checkpointed simulation, I get an exception
> saying that "Schedule.step() is not reentrant, yet is being called
> recursively" on Schedule.step() method. This exception is shown because
> inStep variable is set to true.
>
> Any ideia on how to fix it?
> In addition, what does the inStep variable actually do?
>
> Thanks.
|
|
|