summaryrefslogtreecommitdiff
path: root/lib/functions.py
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-02-07 08:13:42 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-02-07 08:13:42 +0100
commite24681055ded2f273979c2ec05ce0c86651bca50 (patch)
tree8fc189be2f8e06787880a795e6e842fb0d3ac2bf /lib/functions.py
parent616b186e7b65b24eb4157a3d843de4c1e6ed5160 (diff)
function_powerset: add default for num_args
Diffstat (limited to 'lib/functions.py')
-rw-r--r--lib/functions.py2
1 files changed, 1 insertions, 1 deletions
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.