aboutsummaryrefslogtreecommitdiff
path: root/R/gdistsamp.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/gdistsamp.R')
-rw-r--r--R/gdistsamp.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/gdistsamp.R b/R/gdistsamp.R
index c43076a..5342b8e 100644
--- a/R/gdistsamp.R
+++ b/R/gdistsamp.R
@@ -411,7 +411,7 @@ if(engine =="C"){
nll <- function(params){
nll_gdistsamp(params, n_param, y_long, mixture_code, keyfun, survey,
Xlam, Xlam.offset, A, Xphi, Xphi.offset, Xdet, Xdet.offset,
- db, a, t(u), w, k, lfac.k, lfac.kmyt, kmyt, Kmin, threads)
+ db, a, t(u), w, K, Kmin, threads)
}
} else {