From 547b09048e8f81a55edf429cc56ae26625374852 Mon Sep 17 00:00:00 2001 From: Thibaut Lunet Date: Sat, 22 Jun 2024 00:40:01 +0200 Subject: [PATCH] TL: minor doc corrections --- qmat/lagrange.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qmat/lagrange.py b/qmat/lagrange.py index 72f2c1a..1f7a763 100644 --- a/qmat/lagrange.py +++ b/qmat/lagrange.py @@ -243,7 +243,7 @@ def getInterpolationMatrix(self, times): concom = (iDiff == np.inf) | (iDiff == -np.inf) i, j = np.where(concom) - # Replace iDiff by on on those lines to get a simple copy of the value + # Replace iDiff by one on those lines to get a simple copy of the value iDiff[i, :] = concom[i, :] # Compute interpolation matrix using weights @@ -288,7 +288,7 @@ def getIntegrationMatrix(self, intervals, numQuad='FEJER'): - 'LEGENDRE_SCIPY' : Gauss-Legendre rule from Scipy - 'FEJER' : internaly implemented Fejer-I rule - The default is 'LEGENDRE_NUMPY'. + The default is 'FEJER'. Returns -------