From 57af29c6618281aaeb6d506130f4d13b232ca767 Mon Sep 17 00:00:00 2001 From: Antoine Marteau Date: Fri, 10 Jan 2025 19:21:04 +1100 Subject: [PATCH] fix test on julia 1.8 --- test/PolynomialsTests/ModalC0BasesTests.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/PolynomialsTests/ModalC0BasesTests.jl b/test/PolynomialsTests/ModalC0BasesTests.jl index 04c4f839b..3ba41a78e 100644 --- a/test/PolynomialsTests/ModalC0BasesTests.jl +++ b/test/PolynomialsTests/ModalC0BasesTests.jl @@ -95,10 +95,10 @@ b2u= UniformPolyBasis(ModalC0,Val(2),V,order) ∇b2 = Broadcasting(∇)(b2) ∇b2u = Broadcasting(∇)(b2u) -b2x = eachcol(evaluate(b2, [x1,x2,x3,])) -b2xu = eachcol(evaluate(b2u, [x1,x2,x3,])) -∇b2x = eachcol(evaluate(∇b2, [x1,x2,x3,])) -∇b2xu = eachcol(evaluate(∇b2u, [x1,x2,x3,])) +b2x = collect(eachcol(evaluate(b2, [x1,x2,x3,]))) +b2xu = collect(eachcol(evaluate(b2u, [x1,x2,x3,]))) +∇b2x = collect(eachcol(evaluate(∇b2, [x1,x2,x3,]))) +∇b2xu = collect(eachcol(evaluate(∇b2u, [x1,x2,x3,]))) # re order basis polynomials as each basis has different ordering ... b2x_perm = b2x[ sortperm(b2x)[ invperm(sortperm(b2xu))]]