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 -------