From 5737c39e415914c9da1c064d3c3d84d9113e9fa2 Mon Sep 17 00:00:00 2001 From: church89 Date: Mon, 19 Jan 2026 14:40:08 +0100 Subject: [PATCH] minor fix --- openmc/deplete/abc.py | 2 +- openmc/search.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/openmc/deplete/abc.py b/openmc/deplete/abc.py index 47ee997c4a..8d971107ba 100644 --- a/openmc/deplete/abc.py +++ b/openmc/deplete/abc.py @@ -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: diff --git a/openmc/search.py b/openmc/search.py index cff4ef14d5..7566f57cb7 100644 --- a/openmc/search.py +++ b/openmc/search.py @@ -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.