From d337dc993c6ebdc108a458e6b854b98c9e1add7a Mon Sep 17 00:00:00 2001 From: Robert Speck Date: Tue, 26 Dec 2023 13:13:51 +0100 Subject: [PATCH] Update imex_1st_order_mass.py --- pySDC/implementations/sweeper_classes/imex_1st_order_mass.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pySDC/implementations/sweeper_classes/imex_1st_order_mass.py b/pySDC/implementations/sweeper_classes/imex_1st_order_mass.py index 2ddbada512..0de86d5bf7 100644 --- a/pySDC/implementations/sweeper_classes/imex_1st_order_mass.py +++ b/pySDC/implementations/sweeper_classes/imex_1st_order_mass.py @@ -117,7 +117,6 @@ def compute_residual(self, stage=None): res_norm = [] res = self.integrate() for m in range(self.coll.num_nodes): - # This is somewhat ugly, but we have to apply the mass matrix on u0 only on the finest level if L.level_index == 0: res[m] += P.apply_mass_matrix(L.u[0] - L.u[m + 1])