From 4f8b81385bf7f590db5f684b63ffc775b04731fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Fr=C3=A9rot?= Date: Tue, 26 Jan 2021 13:57:39 -0500 Subject: [PATCH] fixing grammar of error message --- src/USER-NETCDF/dump_netcdf.cpp | 2 +- src/USER-NETCDF/dump_netcdf_mpiio.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/USER-NETCDF/dump_netcdf.cpp b/src/USER-NETCDF/dump_netcdf.cpp index a34c0e0488..43e2ea3acb 100644 --- a/src/USER-NETCDF/dump_netcdf.cpp +++ b/src/USER-NETCDF/dump_netcdf.cpp @@ -288,7 +288,7 @@ void DumpNetCDF::openfile() // Fixme! Perform checks if dimensions and variables conform with // data structure standard. if (not utils::file_is_readable(filecurrent)) - error->all(FLERR, fmt::format("cannot append to a non-existant file {}", + error->all(FLERR, fmt::format("cannot append to non-existant file {}", filecurrent)); if (singlefile_opened) return; diff --git a/src/USER-NETCDF/dump_netcdf_mpiio.cpp b/src/USER-NETCDF/dump_netcdf_mpiio.cpp index 7b98f26283..616e9105a5 100644 --- a/src/USER-NETCDF/dump_netcdf_mpiio.cpp +++ b/src/USER-NETCDF/dump_netcdf_mpiio.cpp @@ -284,7 +284,7 @@ void DumpNetCDFMPIIO::openfile() // Fixme! Perform checks if dimensions and variables conform with // data structure standard. if (not utils::file_is_readable(filecurrent)) - error->all(FLERR, fmt::format("cannot append to a non-existant file {}", + error->all(FLERR, fmt::format("cannot append to non-existant file {}", filecurrent)); MPI_Offset index[NC_MAX_VAR_DIMS], count[NC_MAX_VAR_DIMS];