Skip to content

Commit 1fa68ad

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6502611 commit 1fa68ad

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

include/openPMD/backend/PatchRecordComponent.hpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ template <typename T>
160160
inline void PatchRecordComponent::store(uint64_t idx, T data)
161161
{
162162
Datatype dtype = determineDatatype<T>();
163-
if (
164-
dtype != getDatatype() &&
165-
!isSameInteger<T>(getDatatype()) &&
163+
if (dtype != getDatatype() && !isSameInteger<T>(getDatatype()) &&
166164
!isSameFloatingPoint<T>(getDatatype()) &&
167165
!isSameComplexFloatingPoint<T>(getDatatype()) &&
168166
!isSameChar<T>(getDatatype()))
@@ -193,9 +191,7 @@ template <typename T>
193191
inline void PatchRecordComponent::store(T data)
194192
{
195193
Datatype dtype = determineDatatype<T>();
196-
if (
197-
dtype != getDatatype() &&
198-
!isSameInteger<T>(getDatatype()) &&
194+
if (dtype != getDatatype() && !isSameInteger<T>(getDatatype()) &&
199195
!isSameFloatingPoint<T>(getDatatype()) &&
200196
!isSameComplexFloatingPoint<T>(getDatatype()) &&
201197
!isSameChar<T>(getDatatype()))

0 commit comments

Comments
 (0)