From 48fcd32a374eee0ac2ff6dbd61fb20b8ecd265f8 Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 19 Dec 2023 08:01:54 -0800 Subject: [PATCH] Update MYZmod-RMG.R --- R/MYZmod-RMG.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/MYZmod-RMG.R b/R/MYZmod-RMG.R index 776f567..dd49f8d 100644 --- a/R/MYZmod-RMG.R +++ b/R/MYZmod-RMG.R @@ -180,7 +180,7 @@ make_indices_MYZ.RMG <- function(pars) { pars$ix$MYZ$Z_ix <- seq(from = pars$max_ix+1, length.out = pars$nPatches) pars$max_ix <- tail(pars$ix$MYZ$Z_ix, 1) - pars$MYZpar$Gz_ix <- seq(from = pars$max_ix+1, length.out = pars$nPatches) + pars$ix$MYZ$Gz_ix <- seq(from = pars$max_ix+1, length.out = pars$nPatches) pars$max_ix <- tail(pars$ix$MYZ$Gz_ix, 1) return(pars)