Skip to content

Commit 68b03d5

Browse files
committed
Renamed test functions to avoid definition errors
1 parent b9e0d40 commit 68b03d5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ println("Testing runtimes for Pad Transforms")
220220
@time ipadtransform(v)
221221

222222
println("Accuracy of 2d function interpolation at a point")
223-
f = (x,y) -> x^2*y+x^3
224-
g = (x,y) ->cos(exp(2*x+y))*sin(y)
223+
f_xy = (x,y) -> x^2*y+x^3
224+
g_xy = (x,y) -> cos(exp(2*x+y))*sin(y)
225225
x=0.1;y=0.2
226226
m=20
227227
l=80
228-
f_x=padeval(f,x,y,m)
229-
g_x=padeval(g,x,y,l)
230-
@test_approx_eq f(x,y) f_x
231-
@test_approx_eq g(x,y) g_x
228+
f_m=padeval(f_xy,x,y,m)
229+
g_l=padeval(g_xy,x,y,l)
230+
@test_approx_eq f_xy(x,y) f_m
231+
@test_approx_eq g_xy(x,y) g_l

0 commit comments

Comments
 (0)