diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-02-07 08:13:42 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-02-07 08:13:42 +0100 |
commit | e24681055ded2f273979c2ec05ce0c86651bca50 (patch) | |
tree | 8fc189be2f8e06787880a795e6e842fb0d3ac2bf /lib/functions.py | |
parent | 616b186e7b65b24eb4157a3d843de4c1e6ed5160 (diff) |
function_powerset: add default for num_args
Diffstat (limited to 'lib/functions.py')
-rw-r--r-- | lib/functions.py | 2 |
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. |