Skip to content

Commit

Permalink
RangeAxis to Dim
Browse files Browse the repository at this point in the history
  • Loading branch information
Qfl3x authored Jul 14, 2023
1 parent a83aef3 commit 67237ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function getOutAxis(desc::Tuple{ByInference}, axlist, incubes, pargs, f)
@info "Found multiple matching axes for output dimension $il"
end
end
return RangeAxis("OutAxis$(il)", 1:s)
return Dim{Symbol("OutAxis$(il)")}( 1:s)
end
if !allunique(outaxes)
#TODO: fallback with axis renaming in this case
Expand All @@ -134,4 +134,4 @@ function getAxis(desc, axlist::VecOrTuple{DD.Dimension})
else
return axlist[i]
end
end
end

0 comments on commit 67237ac

Please sign in to comment.