Skip to content

Commit 63605bb

Browse files
committed
Numpy type issue was resolved upstream
1 parent 440b7b5 commit 63605bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/samples_tcod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ def on_draw(self) -> None:
644644
sample_console.bg[...] = np.select(
645645
condlist=[fov[:, :, np.newaxis]],
646646
choicelist=[self.light_map_bg],
647-
default=self.dark_map_bg, # type: ignore[call-overload] # Numpy regression https://github.com/numpy/numpy/issues/30497
647+
default=self.dark_map_bg,
648648
)
649649

650650
def on_event(self, event: tcod.event.Event) -> None:

0 commit comments

Comments
 (0)