From d6b30e9b370036e3c2ba71493f9db9afd257a01e Mon Sep 17 00:00:00 2001 From: "wbinventor@gmail.com" Date: Thu, 14 Jan 2016 18:14:10 -0500 Subject: [PATCH] Fixed small issue with new _aggregate_filter property in AggregateFilter created with last commit --- openmc/aggregate.py | 2 +- openmc/statepoint.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openmc/aggregate.py b/openmc/aggregate.py index 908ca4b5c..70ce3685c 100644 --- a/openmc/aggregate.py +++ b/openmc/aggregate.py @@ -256,7 +256,7 @@ class AggregateFilter(object): if existing is None: clone = type(self).__new__(type(self)) clone._type = self.type - clone._filter = self.aggregate_filter + clone._aggregate_filter = self.aggregate_filter clone._aggregate_op = self.aggregate_op clone._bins = self._bins clone._stride = self.stride diff --git a/openmc/statepoint.py b/openmc/statepoint.py index 76a14a80c..49ac43590 100644 --- a/openmc/statepoint.py +++ b/openmc/statepoint.py @@ -3,6 +3,7 @@ import re import numpy as np import openmc +import openmc.checkvalue as cv if sys.version > '3': long = int