diff --git a/test/reference_elem_tests.jl b/test/reference_elem_tests.jl index a0f56ffd..f66dbf6e 100644 --- a/test/reference_elem_tests.jl +++ b/test/reference_elem_tests.jl @@ -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)