Skip to content

Commit fc40977

Browse files
committed
pass Optim.Options for higher accuracy
1 parent e60382f commit fc40977

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/function_space_operators_test.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ import Optim, ForwardDiff # to enable loading the function space operator optimi
4444
0.8574665549914025, 1.0]
4545
N = length(nodes)
4646
let basis_functions = [one, identity, exp]
47-
D = function_space_operator(basis_functions, nodes, source)
47+
D = function_space_operator(basis_functions, nodes, source,
48+
options = Optim.Options(g_tol = 1e-15, iterations = 15000))
4849

4950
@test grid(D) nodes
5051
@test all(isapprox.(D * ones(N), zeros(N); atol = 1e-11))

0 commit comments

Comments
 (0)