Skip to content

Commit f473a43

Browse files
fix: fix buffer_eltype implementation in varmap_to_vars
1 parent e9a8dfb commit f473a43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/problem_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ function varmap_to_vars(varmap::AbstractDict, vars::Vector;
404404
if buffer_eltype == Nothing
405405
vals = promote_to_concrete(vals; tofloat, use_union)
406406
else
407-
vals = buffer_eltype.(vals)
407+
vals = Vector{buffer_eltype}(vals)
408408
end
409409
end
410410

0 commit comments

Comments
 (0)