diff options
-rw-r--r-- | R/mkinmod.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/mkinmod.R b/R/mkinmod.R index 27b8410d..f98a3803 100644 --- a/R/mkinmod.R +++ b/R/mkinmod.R @@ -362,7 +362,7 @@ print.mkinmod <- function(x, ...) { cat("$", obs, "\n", sep = "")
spl <- x$spec[[obs]]
cat("$type:", spl$type)
- if (!is.null(spl$to)) cat(", $to: ", spl$to, ", $sink: ", spl$sink, sep = "")
+ if (!is.null(spl$to)) cat(", $to: ", paste(spl$to, collapse = ", "), ", $sink: ", spl$sink, sep = "")
if (!is.null(spl$full_name)) if (!is.na(spl$full_name)) cat(", $full_name:", spl$full_name)
cat("\n")
}
|