Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions namedisl/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,14 @@
object.__setattr__(self, "_isl_names_ok", True)
return res

def update_persistent_hash(self, key_hash, key_builder) -> None:

Check warning on line 863 in namedisl/core.py

View workflow job for this annotation

GitHub Actions / basedpyright

Type annotation is missing for parameter "key_builder" (reportMissingParameterType)

Check warning on line 863 in namedisl/core.py

View workflow job for this annotation

GitHub Actions / basedpyright

Type of parameter "key_builder" is unknown (reportUnknownParameterType)

Check warning on line 863 in namedisl/core.py

View workflow job for this annotation

GitHub Actions / basedpyright

Type annotation is missing for parameter "key_hash" (reportMissingParameterType)

Check warning on line 863 in namedisl/core.py

View workflow job for this annotation

GitHub Actions / basedpyright

Type of parameter "key_hash" is unknown (reportUnknownParameterType)
semantic_key = (
type(self),
self.space.dimtype_to_names,
str(self.as_isl())
)
key_builder.rec(key_hash, semantic_key)

Check warning on line 869 in namedisl/core.py

View workflow job for this annotation

GitHub Actions / basedpyright

Type of "rec" is unknown (reportUnknownMemberType)

@override
def __hash__(self) -> int:
return hash(self._obj)
Expand Down
Loading