Skip to content

Commit 64f5711

Browse files
committed
minor var name change
1 parent 167d515 commit 64f5711

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

applications/HDF5Application/custom_io/hdf5_file.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,18 +1099,18 @@ void File::ReadDataSetImpl(
10991099
}
11001100
} else {
11011101
#ifdef KRATOS_USING_MPI
1102-
bool read = true;
1102+
bool read_data = true;
11031103
#if H5_VERS_MAJOR < 2 && ((H5_VERS_MINOR == 14 && H5_VERS_RELEASE < 2) || H5_VERS_MINOR < 14)
11041104
/**
11051105
* Until hdf5 1.14.2, if someone tries to read/write empty containers from every rank, it throws an error. This is
11061106
* fixed in the later versions.
11071107
*
11081108
* TODO: Remove this pre-compiler directive once we move to compatible versions.
11091109
*/
1110-
read &= mpDataCommunicator->SumAll(TypeTraits::Size(rData)) > 0;
1110+
read_data &= mpDataCommunicator->SumAll(TypeTraits::Size(rData)) > 0;
11111111
#endif
11121112

1113-
if (read) {
1113+
if (read_data) {
11141114
hid_t dxpl_id;
11151115
KRATOS_HDF5_CALL_WITH_RETURN(dxpl_id, H5Pcreate, H5P_DATASET_XFER)
11161116
if constexpr(TDataTransferMode == DataTransferMode::Collective) {

0 commit comments

Comments
 (0)