Commit ac2a6966f5ba92d6d2f5abbb4420b36058e7ea1d
1 parent
bb8a548e
Removed Python 3.x comment
Showing
1 changed file
with
2 additions
and
2 deletions
scripts/csresmap.py
| ... | ... | @@ -326,7 +326,7 @@ class csresmap(ctools.cscript): |
| 326 | 326 | |
| 327 | 327 | # Subtract and divide by model map |
| 328 | 328 | self.resmap -= modelmap |
| 329 | - self.resmap /= modelmap # Python 3.x does not like this !!! | |
| 329 | + self.resmap /= modelmap | |
| 330 | 330 | #for pixel in modelmap: |
| 331 | 331 | # if pixel != 0.0: |
| 332 | 332 | # pixel = 1.0/pixel |
| ... | ... | @@ -336,7 +336,7 @@ class csresmap(ctools.cscript): |
| 336 | 336 | |
| 337 | 337 | # subtract and divide by sqrt of model map |
| 338 | 338 | self.resmap -= modelmap |
| 339 | - self.resmap /= modelmap.sqrt() # Python 3.x does not like this !!! | |
| 339 | + self.resmap /= modelmap.sqrt() | |
| 340 | 340 | #for pixel in modelmap: |
| 341 | 341 | # if pixel != 0.0: |
| 342 | 342 | # pixel = 1.0/math.sqrt(pixel) | ... | ... |