Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Commit a74edce

Browse files
Array should output dense matrices of type Array
1 parent 1d53f89 commit a74edce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/derivative_operators/BC_operators.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ end
118118
function LinearAlgebra.Array(Q::AffineBC{T,V}, N::Int) where {T,V}
119119
Q_L = [transpose(Q.a_l) transpose(zeros(T, N-length(Q.a_l))); Diagonal(ones(T,N)); transpose(zeros(T, N-length(Q.a_r))) transpose(Q.a_r)]
120120
Q_b = [Q.b_l; zeros(T,N); Q.b_r]
121-
return (Q_L, Q_b)
121+
return (Array(Q_L), Q_b)
122122
end
123123

124124
LinearAlgebra.Array(Q::PeriodicBC{T}, N::Int) where T = [transpose(zeros(T, N-1)) one(T); Diagonal(ones(T,N)); one(T) transpose(zeros(T, N-1))]

0 commit comments

Comments
 (0)