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

Commit 3245b70

Browse files
committed
fix ops
1 parent b9b7ec9 commit 3245b70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/derivative_operators/derivative_operator.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function CompleteCenteredDifference(derivative_order::Int,
227227

228228

229229
high_boundary_coefs = SVector{boundary_stencil_length,T}[convert(SVector{boundary_stencil_length,T},
230-
calculate_weights(derivative_order, high_boundary_x[end-i], high_boundary_x)) for i in boundary_point_count+1:-1:0]
230+
calculate_weights(derivative_order, high_boundary_x[end-i], high_boundary_x)) for i in 0:boundary_point_count-1]
231231

232232
offside = 0
233233
coefficients = nothing

0 commit comments

Comments
 (0)