def diffuse_loops(iter_num):
    u = np.zeros((Lx, Ly), dtype=np.float64)
    temp_u = np.zeros_like(u)
    temp_u[Lx / 2, Ly / 2] = 1000.0

    for n in range(iter_num):
        for i in range(1, Lx - 1):
            for j in range(1, Ly - 1):
                u[i, j] = mu * (temp_u[i + 1, j] + temp_u[i - 1, j] +
                                temp_u[i, j + 1] + temp_u[i, 1 - j] -
                                4 * temp_u[i, j])

        temp = u
        u = temp_u
        temp_u = temp

    return u
dataset/ETHPy150Open iskandr/parakeet/benchmarks/diffuse.py/diffuse_loops/swapped operands of `-`