We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8900463 commit f70fc60Copy full SHA for f70fc60
1 file changed
modepy/quadrature/jacobi_gauss.py
@@ -313,7 +313,7 @@ class JacobiGaussLobattoQuadrature(Quadrature):
313
314
I[f] = \int_{-1}^1 f(x) (1 - x)^\alpha (1 + x)^\beta\, \mathrm{d}x,
315
316
- There will be *N+1* nodes. Exact to degree :math:`2N - 3`.
+ There will be *N+1* nodes. Exact to degree :math:`2N - 1`.
317
318
.. versionadded:: 2024.2
319
"""
@@ -382,7 +382,7 @@ def __init__(self,
382
if force_dim_axis:
383
nodes = nodes.reshape(1, -1)
384
385
- super().__init__(nodes, weights, 2*N - 3)
+ super().__init__(nodes, weights, 2*N - 1)
386
387
388
class LegendreGaussLobattoQuadrature(JacobiGaussLobattoQuadrature):
0 commit comments