Skip to content

Commit fe56e08

Browse files
committed
update minarea validation
1 parent e151bd7 commit fe56e08

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)