diff --git a/lib.py b/lib.py index 492f581..a95e476 100644 --- a/lib.py +++ b/lib.py @@ -61,7 +61,7 @@ class Interpolator: result = [[None for _ in range(new_w)] for _ in range(new_h)] for x in range(new_w): for y in range(new_h): - result[y][x] = get_pixel(picture, x, y, result, quantum_x, quantum_y) + result[y][x] = self.get_pixel(picture, x, y, result, quantum_x, quantum_y) return Picture(result)