Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JordiManyer committed Dec 4, 2023
1 parent 4276451 commit f70e642
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Algebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ function Algebra.allocate_vector(::Type{<:BlockPVector{V}},ids::BlockPRange) whe
end

function Algebra.allocate_in_range(matrix::PSparseMatrix)
V = Vector{eltype(mat)}
V = Vector{eltype(matrix)}
allocate_in_range(PVector{V},matrix)
end

function Algebra.allocate_in_domain(matrix::PSparseMatrix)
V = Vector{eltype(mat)}
V = Vector{eltype(matrix)}
allocate_in_domain(PVector{V},matrix)
end

function Algebra.allocate_in_range(matrix::BlockPMatrix)
V = Vector{eltype(mat)}
V = Vector{eltype(matrix)}
allocate_in_range(BlockPVector{V},matrix)
end

function Algebra.allocate_in_domain(matrix::BlockPMatrix)
V = Vector{eltype(mat)}
V = Vector{eltype(matrix)}
allocate_in_domain(BlockPVector{V},matrix)
end

Expand Down

0 comments on commit f70e642

Please sign in to comment.