From e24681055ded2f273979c2ec05ce0c86651bca50 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 7 Feb 2019 08:13:42 +0100 Subject: function_powerset: add default for num_args --- lib/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/functions.py b/lib/functions.py index c58db4f..24bbc98 100644 --- a/lib/functions.py +++ b/lib/functions.py @@ -408,7 +408,7 @@ class analytic: return 'np.sqrt({})'.format(ref_str) return 'analytic._{}({})'.format(function_type, ref_str) - def function_powerset(fit_results, parameter_names, num_args): + def function_powerset(fit_results, parameter_names, num_args = 0): """ Combine per-parameter regression results into a single multi-dimensional function. -- cgit v1.2.3