Skip to content

Commit e68992d

Browse files
committed
misc: Fstring
1 parent 305d364 commit e68992d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devito/operations/interpolators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def _weights(self, subdomain=None):
473473
def _point_symbols(self):
474474
"""Symbol for coordinate value in each Dimension of the point."""
475475
dtype = self.sfunction.coordinates.dtype
476-
return DimensionTuple(*(Symbol(name='p%s' % d, dtype=dtype)
476+
return DimensionTuple(*(Symbol(name=f'p{d}', dtype=dtype)
477477
for d in self.grid.dimensions),
478478
getters=self.grid.dimensions)
479479

0 commit comments

Comments
 (0)