Skip to content

Commit

Permalink
Update src/krylov_solvers.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 11, 2022
1 parent ea73605 commit bc93b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/krylov_solvers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1887,7 +1887,7 @@ end

function ksizeof(attribute)
if isa(attribute, Vector{<:AbstractVector}) && !isempty(attribute)
# A vector of vector is a vector of pointers in Julia.
# A vector of vectors is a vector of pointers in Julia.
# All vectors inside a vector have the same size in Krylov.jl
size_attribute = sizeof(attribute) + length(attribute) * ksizeof(attribute[1])
else
Expand Down

0 comments on commit bc93b54

Please sign in to comment.