Fix indentation

This commit is contained in:
Johannes Schönberger
2013-09-03 20:31:24 +02:00
parent 8137c41e22
commit 22ca0ae457
+1 -1
View File
@@ -83,7 +83,7 @@ def _slic_cython(double[:, :, :, ::1] image_zyx,
dist_center = dz + dy + (cx - x) ** 2
for c in range(3, n_features):
dist_center += (image_zyx[z, y, x, c - 3]
- segments[k, c]) ** 2
- segments[k, c]) ** 2
if distance[z, y, x] > dist_center:
nearest_segments[z, y, x] = k
distance[z, y, x] = dist_center