From 8a920b4daf5bdf45484e13f6b8a9e4a73301590d Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Tue, 28 Nov 2023 07:59:55 +1300 Subject: [PATCH] Update DenseAxisArray.jl --- src/Containers/DenseAxisArray.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Containers/DenseAxisArray.jl b/src/Containers/DenseAxisArray.jl index 61aac337788..1b23ee4f057 100644 --- a/src/Containers/DenseAxisArray.jl +++ b/src/Containers/DenseAxisArray.jl @@ -534,7 +534,9 @@ function _broadcast_axes_check(x::NTuple{N}) where {N} axes = first(x) for i in 2:N if x[i][1] != axes[1] - throw(DimensionMismatch("DenseAxisArrays have different axes.")) + error( + "Unable to broadcast over DenseAxisArrays with different axes.", + ) end end return axes