Skip to content

Commit 4af65c5

Browse files
committed
Removed only call for compat with julia v1.2
1 parent 0937e76 commit 4af65c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array_interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function Base.vcat(x::ComponentVector, y::ComponentVector)
1818
return vcat(getdata(x), getdata(y))
1919
else
2020
data_x, data_y = getdata.((x, y))
21-
ax_x, ax_y = only.(getaxes.((x, y)))
21+
ax_x, ax_y = getindex.(getaxes.((x, y)), 1)
2222
ax_y = reindex(ax_y, length(x))
2323
idxmap_x, idxmap_y = indexmap.((ax_x, ax_y))
2424
return ComponentArray(vcat(data_x, data_y), Axis((;idxmap_x..., idxmap_y...)))

0 commit comments

Comments
 (0)