Added type ignore since it does accept it

This commit is contained in:
Jaime van Kessel 2021-04-07 17:15:22 +02:00
parent 8cc091fd0a
commit 82ffdccac2
No known key found for this signature in database
GPG Key ID: 3710727397403C91

View File

@ -110,7 +110,7 @@ class ShapeArray:
:return: numpy array with dimensions defined by shape
"""
base_array = numpy.zeros(shape, dtype = numpy.int32) # Initialize your array of zeros
base_array = numpy.zeros(shape, dtype = numpy.int32) # type: ignore # Initialize your array of zeros
fill = numpy.ones(base_array.shape) * True # Initialize boolean array defining shape fill