Skip to content

Commit 79cb53c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 71a764b commit 79cb53c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coordinate_compression.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ def compress(value):
33
raise ValueError(f"{value} not found in coordinate map")
44
return coordinate_map[value]
55

6+
67
def decompress(index):
78
if index < 0 or index >= len(original_values):
89
raise ValueError(f"Index {index} is out of bounds")

0 commit comments

Comments
 (0)