From 47cf8f3e26324adb9f5c7fb015b0beea0bce1f3c Mon Sep 17 00:00:00 2001 From: "Daniel E. Pabon-Moreno" <13040959+dpabon@users.noreply.github.com> Date: Mon, 18 Sep 2023 15:59:18 +0200 Subject: [PATCH] Update DAT.jl 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 --- src/DAT/DAT.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DAT/DAT.jl b/src/DAT/DAT.jl index 0cd04a05..752c8f42 100644 --- a/src/DAT/DAT.jl +++ b/src/DAT/DAT.jl @@ -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}(