From 84579a6c2c82894ef88e88e6048cb198243a8265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Sat, 31 Aug 2013 18:37:35 +0200 Subject: [PATCH] Remove legacy comment --- skimage/segmentation/_slic.pyx | 2 -- 1 file changed, 2 deletions(-) diff --git a/skimage/segmentation/_slic.pyx b/skimage/segmentation/_slic.pyx index 6faaa69b..030bcb4e 100644 --- a/skimage/segmentation/_slic.pyx +++ b/skimage/segmentation/_slic.pyx @@ -84,8 +84,6 @@ def _slic_cython(double[:, :, :, ::1] image_zyx, for y in range(y_min, y_max): dy = (cy - y) ** 2 for x in range(x_min, x_max): - # you would think the compiler can optimize the - # squaring itself. mine can't (with O2) dist_mean = dz + dy + (cx - x) ** 2 for c in range(3, n_features): dist_mean += (image_zyx[z, y, x, c - 3]