minor fix

This commit is contained in:
church89 2026-01-19 14:40:08 +01:00
parent 17f10c4055
commit 5737c39e41
2 changed files with 3 additions and 1 deletions

View file

@ -34,7 +34,6 @@ from .transfer_rates import TransferRates, ExternalSourceRates
from .reactivity_control import ReactivityController
__all__ = [
"OperatorResult", "TransportOperator",
"ReactionRateHelper", "NormalizationHelper", "FissionYieldHelper",
@ -909,6 +908,7 @@ class Integrator(ABC):
n, res = self._get_bos_data_from_operator(i, source_rate, n)
else:
n, res = self._get_bos_data_from_restart(source_rate, n)
# Get root from reactivity control
if self._reactivity_control:
root = self.operator.prev_res[-1].reac_cont
else:

View file

@ -105,6 +105,8 @@ def search_for_keff(model_builder, initial_guess=None, target=1.0,
run_args : dict, optional
Keyword arguments to pass to :meth:`openmc.Model.run`. Defaults to no
arguments.
.. versionadded:: 0.13.1
**kwargs
All remaining keyword arguments are passed to the root-finding
method.