Skip to content

Commit

Permalink
missing control #402
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jan 13, 2025
1 parent ab2d1c2 commit 1060e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geoflow_action.R
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ geoflow_action <- R6Class("geoflow_action",
if(length(opt$default)>1){
opt$default = unlist(opt$default)
}else{
opt$default = switch(opt$default,
opt$default = switch(as.character(opt$default),
"NA" = NA,
"Inf" = Inf,
as(opt$default, opt$class)
Expand Down

0 comments on commit 1060e8d

Please sign in to comment.