Skip to content

Commit

Permalink
partially revert "Fix some ambiguities on nightly (#191)" (#199)
Browse files Browse the repository at this point in the history
This revert commits 0ae368d
  • Loading branch information
johnnychen94 authored Dec 8, 2020
1 parent 3d131c0 commit 83ac3ed
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/borderarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,6 @@ BorderVector{T,A,B} = BorderArray{T,1,A,B}
function Base.similar(A::BorderArray, ::Type{T}, dims::Dims) where T
B = similar(A.inner, T, dims)
end
const BaseAxisTypes = Union{Integer, Base.OneTo}
const OffsetAxisTypes = Union{StaticArrays.HeterogeneousShape, OffsetArrays.IdOffsetRange}
for Ax in (BaseAxisTypes, StaticArrays.HeterogeneousShape, OffsetAxisTypes)
@eval function Base.similar(A::BorderArray, ::Type{T}, inds::Tuple{$Ax,Vararg{$Ax}}) where T
similar(A.inner, T, inds)
end
end

@inline function Base.axes(o::BorderArray)
_outeraxes(o.inner, o.border)
Expand Down

4 comments on commit 83ac3ed

@timholy
Copy link
Member

@timholy timholy commented on 83ac3ed Dec 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Action not recognized: regsiter

@timholy
Copy link
Member

@timholy timholy commented on 83ac3ed Dec 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/26043

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.6.18 -m "<description of version>" 83ac3ed0a3876479fb8614787a80f7fd1d7ec1c5
git push origin v0.6.18

Please sign in to comment.