use portable logic operators

This commit is contained in:
Axel Kohlmeyer
2021-10-07 12:23:17 -04:00
parent 3661b8cd50
commit 4f17082d74
6 changed files with 6 additions and 6 deletions

View File

@ -272,7 +272,7 @@ void DumpNetCDFMPIIO::openfile()
if (append_flag && !multifile) {
// Fixme! Perform checks if dimensions and variables conform with
// data structure standard.
if (not platform::file_is_readable(filecurrent))
if (!platform::file_is_readable(filecurrent))
error->all(FLERR, "cannot append to non-existent file {}", filecurrent);
MPI_Offset index[NC_MAX_VAR_DIMS], count[NC_MAX_VAR_DIMS];