Skip to content

Commit 531a2e0

Browse files
committed
fix uv eltype
1 parent 59c6a0e commit 531a2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function decompose(UVT::Union{UV{T},UVW{T}},
154154
positions_nd = decompose(Point{N,eltype(T)}, positions)
155155
bb = Rect(positions_nd) # Make sure we get this as points
156156
return map(positions_nd) do p
157-
return (p .- minimum(bb)) ./ widths(bb)
157+
return T((p .- minimum(bb)) ./ widths(bb))
158158
end
159159
end
160160

0 commit comments

Comments
 (0)