Skip to content

Commit

Permalink
Unlist forecast_num in change_e()
Browse files Browse the repository at this point in the history
  • Loading branch information
okenk authored and kellijohnson-NOAA committed Feb 19, 2024
1 parent 6f5a1be commit 09085a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/change_e.r
Expand Up @@ -55,6 +55,7 @@ change_e <- function(ctl_file_in = "em.ctl",
if (is.list(par_name)) par_name <- unlist(par_name)
if (is.list(par_int)) par_int <- unlist(par_int)
if (is.list(par_phase)) par_phase <- unlist(par_phase)
if (is.list(forecast_num)) forecast_num <- unlist(forecast_num)
check_eqlength(
"par_name" = par_name,
"par_int" = par_int, "par_phase" = par_phase
Expand Down

1 comment on commit 09085a2

@okenk
Copy link
Contributor Author

@okenk okenk commented on 09085a2 Feb 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI you will also need to set names(forecast_num) <- NULL to fully fix the bug.

Please sign in to comment.