From cd67d8f526c1365da2de2d33530172f88cde69e4 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Sun, 26 Apr 2015 14:29:57 +0700 Subject: [PATCH] Fix error in property setter for num_flushes --- src/utils/openmc/cmfd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/openmc/cmfd.py b/src/utils/openmc/cmfd.py index 6e7eb162a8..8e22222157 100644 --- a/src/utils/openmc/cmfd.py +++ b/src/utils/openmc/cmfd.py @@ -514,8 +514,8 @@ class CMFDFile(object): self._norm = norm - @snes_monitor.setter - def snum_flushes(self, num_flushes): + @num_flushes.setter + def num_flushes(self, num_flushes): if not is_integer(num_flushes): msg = 'Unable to set the CMFD number of flushes to {0} ' \