We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 657d0af commit 8a6c996Copy full SHA for 8a6c996
kafe2/core/fitters/__init__.py
@@ -23,8 +23,6 @@
23
24
25
def get_fitter(fitter_spec):
26
- global AVAILABLE_FITTERS
27
-
28
# for 'None', return the default fitter
29
if fitter_spec is None:
30
_fitter = AVAILABLE_FITTERS.get(kc["core"]["fitters"]["default_fitter"], None)
kafe2/core/minimizers/__init__.py
@@ -74,7 +74,6 @@ def get_minimizer(minimizer_spec=None):
74
:type minimizer_spec: str or None
75
:return: MinimizerBase-derived kafe2 minimizer object
76
"""
77
- global AVAILABLE_MINIMIZERS
78
# for 'None', return the default minimizer
79
if minimizer_spec is None:
80
# go through the default minimizers in the order specified in config
0 commit comments