Skip to content

Commit

Permalink
fewer test for Vandermonde
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Oct 19, 2017
1 parent 2bb0477 commit 8d9ddb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/legendre_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ for p in 1:20
@test norm(w1 - w2) < 1.e-14
end

# derivative and mass matrices for Gauss Legendre nodes and weights
for p in 0:11
# Derivative and mass matrices for Gauss Legendre nodes and weights
# NOTE: Only some tests for low polynomial degrees since the Vandermonde matrix
# becomes very ill-conditioned for higher values of p.
for p in 0:8
basis = GaussLegendre(p)
V = legendre_vandermonde(basis)

Expand Down

0 comments on commit 8d9ddb7

Please sign in to comment.