Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit 6feb2c1

Browse files
EscapedGibbonstropitek
authored andcommitted
fix: remove useless check
1 parent 69f1649 commit 6feb2c1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/compute/getExtrema.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export function getExtrema(image: Image, options: ExtremaOptions): Point[] {
3434
const { kind = 'maximum', mask, algorithm = 'star', maxEquals = 2 } = options;
3535
checkProcessable(image, {
3636
bitDepth: [8, 16],
37-
components: image.components,
3837
});
3938
const searchingMinimum = kind === 'minimum';
4039

0 commit comments

Comments
 (0)