From 2de65d55493cddc83e0c4ed499579f02c12ddea1 Mon Sep 17 00:00:00 2001 From: Mohammed Ayoub Chettouh <20775896+Qfl3x@users.noreply.github.com> Date: Sat, 15 Jul 2023 15:31:03 +0200 Subject: [PATCH] RangeAxis to Dim (#291) --- src/helpers.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers.jl b/src/helpers.jl index 9e66484e..a89bb8f8 100644 --- a/src/helpers.jl +++ b/src/helpers.jl @@ -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 @@ -134,4 +134,4 @@ function getAxis(desc, axlist::VecOrTuple{DD.Dimension}) else return axlist[i] end -end \ No newline at end of file +end