Skip to content

Commit 7f8fa96

Browse files
committed
fixed typo in Idepix Landsat (leading to endless recursive loop)
1 parent 46ae540 commit 7f8fa96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idepix-landsat8/src/main/java/org/esa/snap/idepix/landsat8/Landsat8Algorithm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public boolean isCloudSure() {
7474
boolean nnCloud = nnResult[0] == NN_CATEGORY_CLOUD;
7575

7676
// current logic: cloudSure if Shimez, Clost, Otsu or NN over water
77-
return !isInvalid() && !isCloudSure() && (isCloudShimez || isCloudClost || isCloudOtsu || (nnCloud && !isLand()));
77+
return !isInvalid() && (isCloudShimez || isCloudClost || isCloudOtsu || (nnCloud && !isLand()));
7878
}
7979

8080
@Override

0 commit comments

Comments
 (0)