Skip to content

Commit

Permalink
Fixing circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaem committed Feb 7, 2024
1 parent b7cfcb1 commit a4147b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shenfun/legendre/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
from shenfun.utilities import n
from shenfun.jacobi import JacobiBase
from .lobatto import legendre_lobatto_nodes_and_weights
from . import fastgl


bases = ['Orthogonal',
Expand Down Expand Up @@ -120,6 +119,7 @@ def family():
return 'legendre'

def points_and_weights(self, N=None, map_true_domain=False, weighted=True, **kw):
from . import fastgl
if N is None:
N = self.shape(False)
if self.quad == "LG":
Expand Down
2 changes: 1 addition & 1 deletion shenfun/legendre/dlt.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from shenfun.optimization import cython
from shenfun.spectralbase import islicedict, slicedict
from shenfun.forms.arguments import FunctionSpace
from . import fastgl

__all__ = ['DLT', 'leg2cheb', 'cheb2leg', 'Leg2chebHaleTownsend',
'Leg2Cheb', 'Cheb2Leg', 'FMMLeg2Cheb', 'FMMCheb2Leg']
Expand Down Expand Up @@ -100,6 +99,7 @@ class DLT:
"""
def __init__(self, input_array, s=None, axes=(-1,), threads=1, kind='backward',
flags=(FFTW_MEASURE, FFTW_PRESERVE_INPUT), output_array=None):
from . import fastgl
if isinstance(axes, tuple):
assert len(axes) == 1
axis = axes[-1]
Expand Down

0 comments on commit a4147b1

Please sign in to comment.