mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Fix undefined variable in Operator.__init__
This commit is contained in:
parent
bdec975923
commit
66835f465f
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ class Operator(TransportOperator):
|
|||
if normalization_mode == "fission-q":
|
||||
self._normalization_helper = ChainFissionHelper()
|
||||
elif normalization_mode == "energy-deposition":
|
||||
score = "heating" if settings.photon_transport else "heating-local"
|
||||
score = "heating" if self.settings.photon_transport else "heating-local"
|
||||
self._normalization_helper = EnergyScoreHelper(score)
|
||||
else:
|
||||
self._normalization_helper = SourceRateHelper()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue