Skip to content

Commit 364b90d

Browse files
committed
make the test deterministic
1 parent 55ad935 commit 364b90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hessian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ using Test, Interpolations, LinearAlgebra, ForwardDiff
7777
N = 11
7878
x = range(1.0, 3.0, N)
7979
y = range(-3.0, 3.0, N)
80-
u = rand(N, N)
80+
u = reshape(sin.(1 : (N^2)), N, N)
8181

8282
for uitp in [
8383
Interpolations.linear_interpolation((x, y), u),

0 commit comments

Comments
 (0)