From 512a21b0937f4edc556ee34ef05fa90abbb5d5d4 Mon Sep 17 00:00:00 2001 From: Adam Nelson Date: Sun, 19 Mar 2017 17:40:21 -0400 Subject: [PATCH] Fixed python2 failures --- openmc/search.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openmc/search.py b/openmc/search.py index 5593898f9..c79b608c8 100644 --- a/openmc/search.py +++ b/openmc/search.py @@ -240,7 +240,10 @@ class KeffSearch(object): # Set the iteration counter self._i = 0 + # Create a new dictionary with the arguments from args and kwargs + args.update(kwargs) + # Perform the search - zero_value = root_finder(**args, **kwargs) + zero_value = root_finder(**args) return zero_value