Skip to content

Commit b982796

Browse files
authored
fix typo __getitem__ (#1597)
1 parent 0cafa7f commit b982796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitsandbytes/functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def __init__(
584584
self.state2 = state2
585585
self.nested = state2 is not None
586586

587-
def __get_item__(self, idx):
587+
def __getitem__(self, idx):
588588
"""
589589
ensures compatibility with older quant state scheme with nested lists.
590590
assumes the following layout:

0 commit comments

Comments
 (0)