Skip to content

Commit 66e6da5

Browse files
committed
Updated to new scipy version
1 parent ed6cdec commit 66e6da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pySDC/helpers/spectral_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def get_conv(self, name, N=None):
292292

293293
def get_forward_conv(name):
294294
if name == 'T2U':
295-
mat = (sp.eye(N) - sp.diags(xp.ones(N - 2), offsets=+2)) / 2.0
295+
mat = (sp.eye(N) - sp.diags(xp.ones(N - 2), offsets=+2)).tocsc() / 2.0
296296
mat[:, 0] *= 2
297297
elif name == 'D2T':
298298
mat = sp.eye(N) - sp.diags(xp.ones(N - 2), offsets=+2)

0 commit comments

Comments
 (0)