Skip to content

Commit 5d7d0f9

Browse files
Merge pull request #1165 from M3nin0/fix/slic-minarea
update minarea validation
2 parents e151bd7 + fe56e08 commit 5d7d0f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/sits_segmentation.R

+2-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ sits_slic <- function(data = NULL,
260260
# iter is OK?
261261
.check_int_parameter(iter, min = 10, max = 100)
262262
# minarea is OK?
263-
.check_int_parameter(minarea, min = 10, max = 100)
263+
.check_int_parameter(minarea)
264+
264265
function(data, block, bbox) {
265266
# Create a template rast
266267
v_temp <- .raster_new_rast(

0 commit comments

Comments
 (0)