Skip to content

Commit 816dbee

Browse files
committed
Fixing ugly mpi bug in tensorproductspace.py and bumping version
1 parent 04d4c4d commit 816dbee

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

docs/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,14 @@ help:
5757

5858
%.ipynb2:
5959
doconce format ipynb demos/$(basename $@).do.txt
60+
python add_metadata.py demos/$(basename $@).ipynb
6061
jupyter nbconvert --inplace --clear-output demos/${basename $@}.ipynb
6162
#jupyter nbconvert --inplace --execute demos/${basename $@}.ipynb
6263
doconce subst 'XXX' ' ' demos/$(basename $@).ipynb
6364
doconce subst "<div" "<a" demos/$(basename $@).ipynb
6465
doconce subst "div>" "a>" demos/$(basename $@).ipynb
6566
#doconce subst '<!--.*-->' '' demos/$(basename $@).ipynb
66-
python add_metadata.py demos/$(basename $@).ipynb
67+
#python add_metadata.py demos/$(basename $@).ipynb
6768
cp demos/$(basename $@).ipynb ../../shenfun-demos/content/
6869
cp demos/$(basename $@).ipynb notebooks/
6970

docs/source/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
#html_theme = 'bootstrap'
101101
#html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
102102

103-
# For some reason mathjax 2.7.5 renders bold type ugly. Use 2.7.1
104-
mathjax_path = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js'
103+
#mathjax_path = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js'
104+
mathjax_path = 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js'
105105
#mathjax_path = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
106106

107107
intersphinx_mapping = {'mpi4py_fft': ('https://mpi4py-fft.readthedocs.io/en/latest/', None)}

shenfun/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"""
3030
#pylint: disable=wildcard-import,no-name-in-module
3131

32-
__version__ = '4.1.0'
32+
__version__ = '4.1.1'
3333
__author__ = 'Mikael Mortensen'
3434

3535
import numpy as np

shenfun/tensorproductspace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -926,8 +926,8 @@ def local_mesh(self, bcast=False, map_true_domain=True, kind='quadrature'):
926926
"""
927927
mesh = self.mesh(map_true_domain=map_true_domain, kind=kind)
928928
lm = []
929-
ss = [slice(None)]*len(mesh)
930929
for axis, (n, s) in enumerate(zip(mesh, self.local_slice(False))):
930+
ss = [slice(None)]*len(mesh)
931931
ss[axis] = s
932932
lm.append(n[tuple(ss)])
933933
if bcast is True:

0 commit comments

Comments
 (0)