Commit 515bbde
authored
Update score() return type to support int | float
Mypy reported an incompatible return type because function_to_optimize may return float values.
Updated score() return type from int to int | float for full compatibility.1 parent 5d8edae commit 515bbde
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments