Skip to content

Commit 5df6d52

Browse files
committed
Switch to runtime formatting
1 parent 35c30cf commit 5df6d52

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/mesh/impls/bout/boutmesh.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ void BoutMesh::chooseProcessorSplit(Options& options) {
270270
}
271271
if (nx % NXPE != 0) {
272272
throw BoutException(
273-
_("Number of x points ({:d}) not divisible by NPs in x direction ({:d})\n"), nx,
274-
NXPE);
273+
_f("Number of x points ({:d}) not divisible by NPs in x direction ({:d})\n"),
274+
nx, NXPE);
275275
}
276276
NYPE = NPES / NXPE;
277277
} else {
@@ -287,8 +287,8 @@ void BoutMesh::chooseProcessorSplit(Options& options) {
287287
}
288288
if (ny % NYPE != 0) {
289289
throw BoutException(
290-
_("Number of y points ({:d}) not divisible by NPs in y direction ({:d})\n"), nx,
291-
NXPE);
290+
_f("Number of y points ({:d}) not divisible by NPs in y direction ({:d})\n"),
291+
nx, NXPE);
292292
}
293293
NXPE = NPES / NYPE;
294294
}

0 commit comments

Comments
 (0)