We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9e0d40 commit 68b03d5Copy full SHA for 68b03d5
test/runtests.jl
@@ -220,12 +220,12 @@ println("Testing runtimes for Pad Transforms")
220
@time ipadtransform(v)
221
222
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)
+f_xy = (x,y) -> x^2*y+x^3
+g_xy = (x,y) -> cos(exp(2*x+y))*sin(y)
225
x=0.1;y=0.2
226
m=20
227
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
+f_m=padeval(f_xy,x,y,m)
+g_l=padeval(g_xy,x,y,l)
+@test_approx_eq f_xy(x,y) f_m
+@test_approx_eq g_xy(x,y) g_l
0 commit comments