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

Commit 83b9d74

Browse files
committed
Merging upstream code
2 parents 87d90ef + 5d917e1 commit 83b9d74

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/bc_coeff_compositions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ function fourth_deriv_approx_stencil(N)
66
A[1,1:8] = [3.5 -56/3 42.5 -54.0 251/6 -20.0 5.5 -2/3]
77
A[2,1:8] = [2/3 -11/6 0.0 31/6 -22/3 4.5 -4/3 1/6]
88

9-
A[N-1,N-5:end] = reverse([2/3 -11/6 0.0 31/6 -22/3 4.5 -4/3 1/6], dims=2)
10-
A[N,N-5:end] = reverse([3.5 -56/3 42.5 -54.0 251/6 -20.0 5.5 -2/3], dims=2)
9+
A[N-1,N-5:end] = reverse([3.5 -56/3 42.5 -54.0 251/6 -20.0 5.5 -2/3], dims=2)
10+
A[N,N-5:end] = reverse([2/3 -11/6 0.0 31/6 -22/3 4.5 -4/3 1/6], dims=2)
1111

1212
for i in 3:N-2
1313
A[i,i-2:i+4] = [-1/6 2.0 -13/2 28/3 -13/2 2.0 -1/6]

test/derivative_operators_interface.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ function second_derivative_stencil(N)
4040
A
4141
end
4242

43-
# Broken?
4443
function convert_by_multiplication(::Type{Array}, A::AbstractDerivativeOperator{T}, N::Int=A.dimension) where T
4544
@assert N >= A.stencil_length # stencil must be able to fit in the matrix
4645
mat = zeros(T, (N, N+2))

0 commit comments

Comments
 (0)