Skip to content

Commit

Permalink
Remove window_size check in .kern_functions
Browse files Browse the repository at this point in the history
  • Loading branch information
OldLipe committed Apr 29, 2024
1 parent 6c201da commit 0110da0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions R/api_apply.R
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,6 @@
#' @return operations on local kernels
#'
.kern_functions <- function(window_size, img_nrow, img_ncol) {
# Pre-conditions
.check_int_parameter(window_size,
max = min(img_nrow, img_ncol) - 1,
is_odd = TRUE)

result_env <- list2env(list(
w_median = function(m) {
C_kernel_median(
Expand Down

0 comments on commit 0110da0

Please sign in to comment.