Skip to content

Commit f260c40

Browse files
Updated to new scipy version (#561)
* Updated to new scipy version * Fix for parallelSDC_reloaded test and increases numpy min version * Sticking with numpy v1 for now
1 parent ed6cdec commit f260c40

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
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)

pySDC/projects/parallelSDC_reloaded/scripts/_dataRef.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
0.00019389551968445538,
2020
0.00021499305226875678
2121
],
22-
"fig05_allenCahn_conv_0_VDHS": [Infinity,
23-
0.1932196556772485,
22+
"fig05_allenCahn_conv_0_VDHS": [Infinity,Infinity,
2423
0.5345708075891601,
2524
0.20140479812575454,
2625
0.05620974256627712,
@@ -1996,4 +1995,4 @@
19961995
1.7890750547857405e-14,
19971996
1.1502408431505933e-13
19981997
]
1999-
}
1998+
}

0 commit comments

Comments
 (0)