Skip to content

Commit

Permalink
Fixing import of fastgl
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaem committed Feb 7, 2024
1 parent 7244f6f commit b7cfcb1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion shenfun/legendre/fastgl/__init__.py
@@ -1 +1,8 @@
from .fastgl_wrap import leggauss, getGLPair
try:
from . import fastgl_wrap
except ModuleNotFoundError:
print('fastgl not found')
fastgl_wrap = None

leggauss = getattr(fastgl_wrap, 'leggauss', None)
getGLPair = getattr(fastgl_wrap, 'getGLPair', None)

0 comments on commit b7cfcb1

Please sign in to comment.