Skip to content

Commit

Permalink
fix (config): Plot prefs with callable params_or should accept float
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Apr 23, 2024
1 parent 676cede commit 64d7e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen_experiments/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def addn(x):
{"diff_params.kind": "kalman", "diff_params.alpha": None},
{
"diff_params.kind": "kalman",
"diff_params.alpha": lambda a: isinstance(a, int),
"diff_params.alpha": lambda a: isinstance(a, float | int),
},
{"diff_params.kind": "trend_filtered"},
{"diff_params.diffcls": "SmoothedFiniteDifference"},
Expand Down

0 comments on commit 64d7e10

Please sign in to comment.