Skip to content

Commit

Permalink
Update DAT.jl
Browse files Browse the repository at this point in the history
Typo fixed. In DimensionalData ```i.values``` doesn't exist. It must be ```i.val```, otherwise the error ```type Dim has no field values``` pop-up
  • Loading branch information
dpabon authored Sep 18, 2023
1 parent 80278a8 commit 47cf8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DAT/DAT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ struct AllLoopAxes{S,V} <: AxValCreator
loopsyms::S
loopaxvals::V
end
AllLoopAxes(a) = AllLoopAxes(map(DD.dim2key, a), map(i -> i.values, a))
AllLoopAxes(a) = AllLoopAxes(map(DD.dim2key, a), map(i -> i.val, a))
getlaxvals(::NoLoopAxes, cI, offscur) = ()
getlaxvals(a::AllLoopAxes, cI, offscur) = (
NamedTuple{a.loopsyms}(
Expand Down

0 comments on commit 47cf8f3

Please sign in to comment.