Skip to content

Commit

Permalink
Make CI happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
termi-official committed Nov 16, 2023
1 parent 3a470ea commit f3e11f0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/solver/operator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end

# TODO constructor which checks for axis compat
struct BlockOperator{OPS <: Tuple}
# TODO maybe SMatrix?
# TODO custom "square matrix tuple"
operators::OPS # stored row by row as in [1 2; 3 4]
end

Expand Down Expand Up @@ -324,6 +324,7 @@ end
end
# Evaluate f
fx = f.f(x,time)
# TODO replace with evaluate_coefficient
# Evaluate all basis functions
@inbounds for j 1:getnbasefunctions(cv)
δu = shape_value(cv, qp, j)
Expand Down
2 changes: 2 additions & 0 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ function mul(A::ThreadedSparseMatrixCSR, x::AbstractVector)
return mul!(y, A, x)
end
*(A::ThreadedSparseMatrixCSR, v::AbstractVector) = mul(A,v)
*(A::ThreadedSparseMatrixCSR, v::BlockArrays.FillArrays.AbstractZeros{<:Any, 1}) = mul(A,v)
*(A::ThreadedSparseMatrixCSR, v::BlockArrays.ArrayLayouts.LayoutVector) = mul(A,v)

Base.eltype(A::ThreadedSparseMatrixCSR) = Base.eltype(A.A)
getrowptr(A::ThreadedSparseMatrixCSR) = getrowptr(A.A)
Expand Down

0 comments on commit f3e11f0

Please sign in to comment.