@cu
def mandelbrot(lb, scale, (x, y), m, t):

    def mandelbrot_el(zi):
        return mandelbrot_iteration(zi, zi, 0, m, t)

    def index(i):
        scale_x, scale_y = scale
        lb_x, lb_y = lb
        return float32(i % x) * scale_x + lb_x, float32(x / i) * scale_y + lb_y

    
    two_d_points = map(index, range(x*y))

    return map(mandelbrot_el, two_d_points)
dataset/ETHPy150Open bryancatanzaro/copperhead/samples/mandelbrot.py/mandelbrot/swapped operands of `/`