From ac2a6966f5ba92d6d2f5abbb4420b36058e7ea1d Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Thu, 2 Jul 2015 18:52:13 +0200 Subject: [PATCH] Removed Python 3.x comment --- scripts/csresmap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/csresmap.py b/scripts/csresmap.py index 3f49fbc..c64adbe 100755 --- a/scripts/csresmap.py +++ b/scripts/csresmap.py @@ -326,7 +326,7 @@ class csresmap(ctools.cscript): # Subtract and divide by model map self.resmap -= modelmap - self.resmap /= modelmap # Python 3.x does not like this !!! + self.resmap /= modelmap #for pixel in modelmap: # if pixel != 0.0: # pixel = 1.0/pixel @@ -336,7 +336,7 @@ class csresmap(ctools.cscript): # subtract and divide by sqrt of model map self.resmap -= modelmap - self.resmap /= modelmap.sqrt() # Python 3.x does not like this !!! + self.resmap /= modelmap.sqrt() #for pixel in modelmap: # if pixel != 0.0: # pixel = 1.0/math.sqrt(pixel) -- libgit2 0.21.4