Skip to content
Snippets Groups Projects
Commit 61ea4f9d authored by (no author)'s avatar (no author)
Browse files

correcting a comparison

git-svn-id: https://svn.ssec.wisc.edu/repos/glance/trunk@66 8a9318a1-56ba-4d59-b755-99d26321be01
parent 5f8d1b46
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ def stats(diffData, mask, *etc):
# if there are no values after the mask,
# we can't do any of these forms of
# statistical analysis
if sum(mask) is 0 :
if sum(mask) <= 0 :
return { }
absDiffData = abs(diffData)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment