Skip to content

Commit e392213

Browse files
committed
Allow other name for FLEX preconditioner
1 parent 8e9c149 commit e392213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pySDC/core/sweeper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,5 +270,5 @@ def updateVariableCoeffs(self, k):
270270
k : int
271271
Index of the sweep (0 for initial sweep, 1 for the first one, ...).
272272
"""
273-
if self.params.QI == 'MIN-SR-FLEX':
273+
if self.params.QI.lower() in ['min-sr-flex', 'min_sr_flex']:
274274
self.QI = self.get_Qdelta_implicit(qd_type="MIN-SR-FLEX", k=k)

0 commit comments

Comments
 (0)