Skip to content

Commit

Permalink
fix test on julia 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoinemarteau committed Jan 10, 2025
1 parent 7ab7341 commit 57af29c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/PolynomialsTests/ModalC0BasesTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))]]
Expand Down

0 comments on commit 57af29c

Please sign in to comment.