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 3109f22 commit ed05a6aCopy full SHA for ed05a6a
test/runtests.jl
@@ -228,12 +228,12 @@ IPlan=plan_ipaduatransform(v)
228
@time ipaduatransform(IPlan,v)
229
230
println("Accuracy of 2d function interpolation at a point")
231
-f = (x,y) -> x^2*y+x^3
232
-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)
233
x=0.1;y=0.2
234
m=130
235
l=80
236
-f_x=paduaeval(f,x,y,m)
237
-g_x=paduaeval(g,x,y,l)
238
-@test_approx_eq f(x,y) f_x
239
-@test_approx_eq g(x,y) g_x
+f_m=paduaeval(f_xy,x,y,m)
+g_l=paduaeval(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