Skip to content

Commit

Permalink
fix reinterpret error message string (#29844)
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC authored and JeffBezanson committed Oct 30, 2018
1 parent bfeb66b commit 5e9feb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/reinterpretarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct ReinterpretArray{T,N,S,A<:AbstractArray{S, N}} <: AbstractArray{T, N}
throw(ArgumentError("""
cannot reinterpret an `$(S)` array to `$(T)` whose first dimension has size `$(dim)`.
The resulting array would have non-integral first dimension.
"""))
"""))
end
function throwaxes1(::Type{S}, ::Type{T}, ax1)
@_noinline_meta
Expand Down

0 comments on commit 5e9feb4

Please sign in to comment.