From caf51d72bae26acc089978e8c7388a525f782a06 Mon Sep 17 00:00:00 2001 From: jan Date: Sat, 16 Jul 2016 18:29:57 -0700 Subject: [PATCH] Remove unused code for matlab interface --- float_raster.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/float_raster.py b/float_raster.py index dd22abd..c7c8da6 100644 --- a/float_raster.py +++ b/float_raster.py @@ -134,9 +134,6 @@ def raster(poly_xy: numpy.ndarray, # If the shape fell completely outside our area, just return a blank grid if poly_xy_xy.size == 0: - # for matlab: - # rg = array.array('d', numpy.nditer(zeros(num_xy_px), order='F')) - # return rg return zeros(num_xy_px) # ## Calculate area, cover