X-Git-Url: https://git.auder.net/?p=epclust.git;a=blobdiff_plain;f=epclust%2FR%2FcomputeWerDists.R;h=c6fa6338384cbbd7eb87e48753af5e90cbe4fa33;hp=4dbcb7b8ca09c4c0f6202adb2f114b02311ec8e9;hb=c25d83a0ea7435d3c72ed74738be86ddcccd7e66;hpb=8546023eccc529272cf3e50f8dad17eed9d7b047 diff --git a/epclust/R/computeWerDists.R b/epclust/R/computeWerDists.R index 4dbcb7b..c6fa633 100644 --- a/epclust/R/computeWerDists.R +++ b/epclust/R/computeWerDists.R @@ -12,8 +12,8 @@ #' @return A distances matrix of size K x K where K == length(indices) #' #' @export -computeWerDists <- function(indices, getSeries, nb_series_per_chunk, smooth_lvl, nvoice, - nbytes, endian, ncores=3, verbose=FALSE, parll=TRUE) +computeWerDists <- function(indices, getSeries, nb_series_per_chunk, smooth_lvl=3, nvoice=4, + nbytes=4, endian=.Platform$endian, ncores=3, verbose=FALSE, parll=TRUE) { n <- length(indices) L <- length(getSeries(1)) #TODO: not very neat way to get L