Checkpoint: Fix broken checkpointing functionality
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:48:52 +0000 (05:48 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 21 Aug 2012 09:48:52 +0000 (05:48 -0400)
commit4ebefc145adf818f8695c36a36daacca99f59eb8
tree6bf38b00c997fc468d4d232f295233e086da64ae
parent0160d51483b08494c6062e12da15f763d6a8b06f
Checkpoint: Fix broken checkpointing functionality

This patch fixes the checkpointing by ensuring that the directory is
passer to the scriptCheckpoints function, and that the num_checkpoints
is not used before it is initialised.
configs/common/Simulation.py