Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasdiener committed Nov 12, 2024
1 parent dd419b0 commit ad08e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loopy/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def __post_init__(self):
from loopy.types import to_loopy_type
object.__setattr__(self, "dtype", to_loopy_type(self.dtype))

assert isinstance(self.op_type, OpType) or self.op_type is None, self.op_type
assert isinstance(self.op_type, (OpType, type(None)))

if not isinstance(self.count_granularity, (CountGranularity, type(None))):
raise ValueError(
Expand Down

0 comments on commit ad08e3e

Please sign in to comment.