Skip to content

Commit

Permalink
missing control #403
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Jan 13, 2025
1 parent 1060e8d commit d9d84a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/geoflow_handler.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ geoflow_handler <- R6Class("geoflow_handler",
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 d9d84a7

Please sign in to comment.