Skip to content

Commit

Permalink
Merge pull request #411 from ConnectedSystems/fix-length-typo
Browse files Browse the repository at this point in the history
Fix typo: lenghts -> lengths
  • Loading branch information
lazarusA authored Jul 9, 2024
2 parents 54b7f6d + f90c7a9 commit 3b89b6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cubes/Cubes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ struct YAXArray{T,N,A<:AbstractArray{T,N}, D, Me} <: AbstractDimArray{T,N,D,A}
elseif ntuple(i -> length(axes[i]), ndims(data)) != size(data) # case: mismatched data dimensions: sizes of axes and data
throw(
ArgumentError(
"Can not construct YAXArray, supplied data size is $(size(data)) while axis lenghts are $(ntuple(i->length(axes[i]),ndims(data)))",
"Can not construct YAXArray, supplied data size is $(size(data)) while axis lengths are $(ntuple(i->length(axes[i]),ndims(data)))",
),
)
elseif ndims(chunks) != ndims(data)
Expand Down

0 comments on commit 3b89b6c

Please sign in to comment.