Skip to content

Commit

Permalink
Update DenseAxisArray.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Nov 27, 2023
1 parent adbcca5 commit 8a920b4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Containers/DenseAxisArray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a920b4

Please sign in to comment.