Commit d9deaa96 authored by Erik Fransson's avatar Erik Fransson

Make filon module run with python3 since its a very useful module on its own.

parent 3545e92c
......@@ -119,7 +119,7 @@ def _gen_sc_int(f, dx, k, x0, axis, sc):
k = k.reshape(k_shape)
# Add an extra dimension to f, and transpose it to put the x-dimension at axis=-1
t = range(f.ndim + 1)
t = list(range(f.ndim + 1))
t[axis], t[-1] = t[-1], t[axis]
f = f.reshape(f.shape + (1,)).transpose(t)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment