From 7632f3df79a02e90d981200112d846b3f4d3e2aa Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Mon, 25 Feb 2013 00:25:17 -0500 Subject: [PATCH] Fixed bug in statepoint.py for multiple generations per batch. --- src/utils/statepoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/statepoint.py b/src/utils/statepoint.py index 1fb814c5fc..1227d89cbe 100644 --- a/src/utils/statepoint.py +++ b/src/utils/statepoint.py @@ -194,7 +194,7 @@ class StatePoint(BinaryFile): if self.run_mode == 2: self.n_inactive, self.gen_per_batch = self._get_int(2) self.k_batch = self._get_double(self.current_batch) - self.entropy = self._get_double(self.current_batch) + self.entropy = self._get_double(self.current_batch*self.gen_per_batch) self.k_col_abs = self._get_double()[0] self.k_col_tra = self._get_double()[0] self.k_abs_tra = self._get_double()[0]