From b71dec1efc8fce5d433585958c385bd0c6692006 Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Mon, 21 Oct 2024 09:18:06 +0200 Subject: [PATCH] obj->x in length overload --- R/overloads.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/overloads.R b/R/overloads.R index 7e68c09..2da0512 100644 --- a/R/overloads.R +++ b/R/overloads.R @@ -1,4 +1,4 @@ #' @exportS3Method length pharmpy.model.parameters.Parameters -length.pharmpy.model.parameters.Parameters <- function(obj) { - reticulate::py_len(obj) +length.pharmpy.model.parameters.Parameters <- function(x) { + reticulate::py_len(x) }