Skip to content

Commit

Permalink
Allow estimator to be set to None
Browse files Browse the repository at this point in the history
  • Loading branch information
pshriwise committed Sep 13, 2024
1 parent 7a64ff7 commit 25dd302
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openmc/tallies.py
Original file line number Diff line number Diff line change
Expand Up @@ -2403,7 +2403,8 @@ def __truediv__(self, other):
new_tally.name = self.name
new_tally._mean = self.mean / other
new_tally._std_dev = self.std_dev * np.abs(1. / other)
new_tally.estimator = self.estimator
if self.estimator is not None:
new_tally.estimator = self.estimator
new_tally.with_summary = self.with_summary
new_tally.num_realizations = self.num_realizations

Expand Down

0 comments on commit 25dd302

Please sign in to comment.