Skip to content

Commit d5b441b

Browse files
One more fix to pyramid check
1 parent ee47321 commit d5b441b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

components/formats-gpl/src/loci/formats/in/NDPISReader.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ else if (key.startsWith("Image")) {
281281

282282
private boolean isPyramidResolution(int readerIndex, int coreIndex) {
283283
int pyramidHeight = ((NDPIReader) readers[readerIndex].getReader()).getPyramidHeight();
284-
return (hasFlattenedResolutions() && coreIndex < pyramidHeight) ||
285-
(!hasFlattenedResolutions() && coreIndex == 0);
284+
return coreIndex < pyramidHeight;
286285
}
287286

288287
}

0 commit comments

Comments
 (0)