Skip to content

Commit d71125e

Browse files
adding kwarg dfdx::Bool
forgot earlier
1 parent 094a4f9 commit d71125e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/discretization/fornberg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Inputs:
1717
derivative values respectively.
1818
=#
1919

20-
function calculate_weights(order::Int, x0::T, x::AbstractVector) where T<:Real
20+
function calculate_weights(order::Int, x0::T, x::AbstractVector; dfdx::Bool = false) where T<:Real
2121
N = length(x)
2222
@assert order < N "Not enough points for the requested order."
2323
M = order

0 commit comments

Comments
 (0)