Wokia-Dev / EzFractal

Non-iterable value used in an iterating context PYL-E1133
Bug risk
Critical
a year agoa year old
Non-iterable value numba.prange(height) is used in an iterating context
101):
102    # foreach pixel in the screen array using numba parallel
103    for x in numba.prange(width - menu_width):
104        for y in numba.prange(height):105            # define the complex number based on the pixel coordinates, zoom and offset
106            c = (x - offset[0]) * zoom + 1j * (y - offset[1]) * zoom
107            # define the initial value of z and the number of iterations
Non-iterable value numba.prange(width - menu_width) is used in an iterating context
100        lightness: float = 0.5,
101):
102    # foreach pixel in the screen array using numba parallel
103    for x in numba.prange(width - menu_width):104        for y in numba.prange(height):
105            # define the complex number based on the pixel coordinates, zoom and offset
106            c = (x - offset[0]) * zoom + 1j * (y - offset[1]) * zoom
Non-iterable value numba.prange(height) is used in an iterating context
 64):
 65    # foreach pixel in the screen array using numba parallel
 66    for x in numba.prange(width - menu_width):
 67        for y in numba.prange(height): 68            # define the complex number based on the pixel coordinates, zoom and offset
 69            z = (x - offset[0]) * zoom + 1j * (y - offset[1]) * zoom
 70            # number of iterations
Non-iterable value numba.prange(width - menu_width) is used in an iterating context
 63        lightness: float = 0.5,
 64):
 65    # foreach pixel in the screen array using numba parallel
 66    for x in numba.prange(width - menu_width): 67        for y in numba.prange(height):
 68            # define the complex number based on the pixel coordinates, zoom and offset
 69            z = (x - offset[0]) * zoom + 1j * (y - offset[1]) * zoom
Non-iterable value numba.prange(width - menu_width) is used in an iterating context
100        lightness: float = 0.5,
101):
102    # foreach pixel in the screen array using numba parallel
103    for x in numba.prange(width - menu_width):104        for y in numba.prange(height):
105            # define the complex number based on the pixel coordinates, zoom and offset
106            c = (x - offset[0]) * zoom + 1j * (y - offset[1]) * zoom