From 0eda8e42082b15cf48ff9fbf29fdbaacf9f3df8d Mon Sep 17 00:00:00 2001 From: Thibaut Lunet Date: Thu, 15 Apr 2021 17:49:12 +0200 Subject: [PATCH] TL: small synthax correction --- pySDC/core/Sweeper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pySDC/core/Sweeper.py b/pySDC/core/Sweeper.py index fc53fa8fab..53e86cd161 100644 --- a/pySDC/core/Sweeper.py +++ b/pySDC/core/Sweeper.py @@ -20,7 +20,7 @@ def __init__(self, pars): self.initial_guess = 'spread' for k, v in pars.items(): - if k is not 'collocation_class': + if k != 'collocation_class': setattr(self, k, v) self._freeze()