Skip to content

Commit

Permalink
fix graph/basic.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrine committed Aug 14, 2024
1 parent 962772f commit d5efa11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytensor/graph/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def clone(self, **kwargs):
return cp


class NominalVariable(AtomicVariable[_TypeType]):
class NominalVariable(Generic[_TypeType, _IdType], AtomicVariable[_TypeType]):
"""A variable that enables alpha-equivalent comparisons."""

__instances__: dict[tuple["Type", Hashable], "NominalVariable"] = {}
Expand Down

0 comments on commit d5efa11

Please sign in to comment.