We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1fa60 commit 3cec5b2Copy full SHA for 3cec5b2
devito/core/operator.py
@@ -196,7 +196,7 @@ def _check_kwargs(cls, **kwargs):
196
oo = kwargs['options']
197
198
if oo['mpi'] and oo['mpi'] not in cls.MPI_MODES:
199
- raise InvalidOperator("Unsupported MPI mode `{}`".format(oo['mpi']))
+ raise InvalidOperator(f"Unsupported MPI mode `{oo['mpi']}`")
200
201
if oo['cse-algo'] not in ('basic', 'smartsort', 'advanced'):
202
raise InvalidOperator("Illegal `cse-algo` value")
0 commit comments