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

Commit 45660b6

Browse files
committed
fix typo
1 parent 477c07b commit 45660b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/derivative_operators/derivative_operator_functions.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ function *(c::Number, A::DerivativeOperator{T,N,Wind}) where {T,N,Wind}
141141
end
142142

143143

144+
#TODO fix syntax error here
145+
144146
# A more efficient mul! implementation for a composition of regular-grid, centered difference
145147
# DerivativeOperator operating on a 2D or 3D AbstractArray
146148
function LinearAlgebra.mul!(x_temp::AbstractArray{T,2}, A::AbstractDiffEqCompositeOperator, M::AbstractArray{T,2}) where {T}
@@ -297,9 +299,9 @@ function LinearAlgebra.mul!(x_temp::AbstractArray{T,2}, A::AbstractDiffEqComposi
297299
else
298300
N = diff_axis(A.ops[1])
299301
if N == 1
300-
mul!(view(x_temp,A.ops[1],M)
302+
mul!(x_temp,A.ops[1],M)
301303
else
302-
mul!(view(x_temp,A.ops[1],M)
304+
mul!(x_temp,A.ops[1],M)
303305
end
304306
for L in A.ops[2:end]
305307
mul_add!(x_temp,L,M)

0 commit comments

Comments
 (0)