Skip to content

Commit 4f8125e

Browse files
committed
Mark Numpy type regression
1 parent 1b1e9f0 commit 4f8125e

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,
647+
default=self.dark_map_bg, # type: ignore[call-overload] # Numpy regression https://github.com/numpy/numpy/issues/30497
648648
)
649649

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

0 commit comments

Comments
 (0)