Skip to content

Commit

Permalink
fixed test error due to changes to HaltonSequence
Browse files Browse the repository at this point in the history
  • Loading branch information
treverhines committed Aug 11, 2019
1 parent bcd1252 commit 69c86cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_fd.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_2d_rbf_weight_diffx2(self):
# estimate derivative in f(x,y) = sin(2*pi*x)*cos(2*pi*y). The
# accuracy should improve with increasing polynomial order
x = np.array([0.5,0.5])
H = rbf.pde.halton.HaltonSequence(2)
H = rbf.pde.halton.HaltonSequence(2, start=0)
nodes = H(500)

u = test_func2d(nodes)
Expand Down Expand Up @@ -143,7 +143,7 @@ def test_2d_rbf_weight_diffy2(self):
# accuracy should improve with increasing polynomial order test
# test d/dy
x = np.array([0.7,0.6])
H = rbf.pde.halton.HaltonSequence(2)
H = rbf.pde.halton.HaltonSequence(2, start=0)
nodes = H(500)

u = test_func2d(nodes)
Expand Down

0 comments on commit 69c86cc

Please sign in to comment.