mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
syntax fix in CoupledOperator
This commit is contained in:
parent
51b1350f4a
commit
2f985a8086
1 changed files with 2 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ class CoupledOperator(OpenMCOperator):
|
|||
fission_yield_mode="constant", fission_yield_opts=None,
|
||||
reaction_rate_mode="direct", reaction_rate_opts=None,
|
||||
reduce_chain=False, reduce_chain_level=None):
|
||||
|
||||
|
||||
# check for old call to constructor
|
||||
if isinstance(model, openmc.Geometry):
|
||||
msg = "As of version 0.13.0 openmc.deplete.CoupledOperator " \
|
||||
|
|
@ -520,7 +520,7 @@ class CoupledOperator(OpenMCOperator):
|
|||
openmc.lib.finalize()
|
||||
|
||||
# Retain deprecated name for the time being
|
||||
def Operator(**args, **kwargs):
|
||||
def Operator(*args, **kwargs):
|
||||
# warn of name change
|
||||
warn(
|
||||
"The Operator(...) class has been renamed and will "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue