diff --git a/easyrl/configs/__init__.py b/easyrl/configs/__init__.py index 89127e7..4e20e9f 100644 --- a/easyrl/configs/__init__.py +++ b/easyrl/configs/__init__.py @@ -14,7 +14,7 @@ class CFG: cfg = CFG() -def set_config(alg, config_func=None): +def set_config(alg=None, config_func=None): global cfg if config_func is not None: cfg.alg = config_func()