Skip to content

Commit

Permalink
fix ambiguity
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Nov 3, 2024
1 parent 4d613bd commit 645baa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tables.jl
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ end
throw(ArgumentError("There is no table column $i"))
end
end
@inline function Tables.getcolumn(t::DimTable, dim::DimOrDimType)
@inline function Tables.getcolumn(t::DimTable, dim::Union{Dimension,Type{<:Dimension}})
dimcolumns(t)[dimnum(t, dim)]
end
@inline function Tables.getcolumn(t::DimTable{Rows}, key::Symbol)
Expand Down

0 comments on commit 645baa1

Please sign in to comment.