Skip to content

Commit

Permalink
Fix a numba error by __delitem__ in numba 0.57
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaz001 committed May 10, 2023
1 parent a5bada6 commit 8b78a45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hftbacktest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
'correct'
)

__version__ = '1.5.4'
__version__ = '1.5.5'


# JIT'ed latency models
Expand Down
2 changes: 1 addition & 1 deletion hftbacktest/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __getitem__(self, key):
def __len__(self):
return len(self.order_list)

def __delitem__(self, key):
def delitem(self, key):
order, _ = self.order_list[key]
del self.order_list[key]
self.orders[order.order_id] -= 1
Expand Down

0 comments on commit 8b78a45

Please sign in to comment.