Skip to content

Commit

Permalink
Fix CI to match default quadrature + relax RecursiveArrayTools compat (
Browse files Browse the repository at this point in the history
…#179)

* fix CI to match new default Quad/Hex quadrature

* relax restriction on RecursiveArrayTools
  • Loading branch information
jlchan authored Aug 3, 2024
1 parent 3b4f5cc commit 2a0fa81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NodesAndModes = "1"
PathIntersections = "0.1, 0.2"
Plots = "1"
RecipesBase = "1"
RecursiveArrayTools = "3 - 3.3.3"
RecursiveArrayTools = "3"
Reexport = "1"
Setfield = "1"
SparseArrays = "1"
Expand Down
4 changes: 2 additions & 2 deletions test/reference_elem_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
@test abs(sum(rd.wf)) 8
@test abs(sum(rd.wf .* rd.nrJ)) + abs(sum(rd.wf .* rd.nsJ)) < tol
@test rd.Pq * rd.Vq I
Vfp = vandermonde(Line(), N, quad_nodes(Line(), N+1)[1]) / vandermonde(Line(), N, nodes(Line(), N))
rstf = (x->Vfp * x[reshape(rd.Fmask,:,rd.Nfaces)]).(rd.rst)
Vfp = vandermonde(Line(), N, quad_nodes(Line(), N)[1]) / vandermonde(Line(), N, nodes(Line(), N))
rstf = (x->Vfp * x[reshape(rd.Fmask, :, rd.Nfaces)]).(rd.rst)
@test all(vec.(rstf) .≈ rd.rstf)

@test StartUpDG.eigenvalue_inverse_trace_constant(rd) inverse_trace_constant(rd)
Expand Down

0 comments on commit 2a0fa81

Please sign in to comment.