We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 001f27f commit 1d669d4Copy full SHA for 1d669d4
1 file changed
include/openPMD/backend/PatchRecordComponent.hpp
@@ -161,7 +161,7 @@ template <typename T>
161
inline void PatchRecordComponent::store(uint64_t idx, T data)
162
{
163
Datatype dtype = determineDatatype<T>();
164
- if (dtype != getDatatype())
+ if (!isSame(dtype, getDatatype()))
165
166
std::ostringstream oss;
167
oss << "Datatypes of patch data (" << dtype << ") and dataset ("
@@ -188,7 +188,7 @@ template <typename T>
188
inline void PatchRecordComponent::store(T data)
189
190
191
192
193
194
0 commit comments