Skip to content

Commit

Permalink
Use T for Integer
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Dec 16, 2024
1 parent ff4759e commit 6945238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion param/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def __setstate__(self,state):



class Integer(Number[int]):
class Integer(Number[T]):
"""Numeric Parameter required to be an Integer"""

_slot_defaults = dict(Number._slot_defaults, default=0)
Expand Down

0 comments on commit 6945238

Please sign in to comment.