Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gridap/Gridap.jl into update-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Nov 7, 2024
2 parents 541458e + 6071a90 commit e3aa094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Algebra/Algebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ using Gridap.Helpers
import Base: convert, size, getindex, show, count, *
import LinearAlgebra: mul!
import SparseArrays: nnz, nonzeros, nzrange, findnz, rowvals
import BlockArrays: AbstractBlockedUnitRange

export length_to_ptrs!
export rewind_ptrs!
Expand Down
2 changes: 1 addition & 1 deletion src/Algebra/AlgebraInterfaces.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function allocate_vector(::Type{V},n::Integer) where V
V(undef,n)
end

function allocate_vector(::Type{<:BlockVector{T,VV}},indices::BlockedUnitRange) where {T,VV}
function allocate_vector(::Type{<:BlockVector{T,VV}},indices::AbstractBlockedUnitRange) where {T,VV}
V = eltype(VV)
mortar(map(ids -> allocate_vector(V,ids),blocks(indices)))
end
Expand Down

0 comments on commit e3aa094

Please sign in to comment.