Skip to content

Commit e8c3efb

Browse files
committed
Revert "tmp: CI debugging"
This reverts commit a3237f2.
1 parent a3237f2 commit e8c3efb

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

include/openPMD/Datatype.tpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ constexpr inline bool isSameChar(Datatype d, Datatype e)
292292

293293
constexpr bool isSame(openPMD::Datatype const d, openPMD::Datatype const e)
294294
{
295-
auto res =
295+
return
296296
// exact same type
297297
static_cast<int>(d) == static_cast<int>(e)
298298
// same int
@@ -303,14 +303,6 @@ constexpr bool isSame(openPMD::Datatype const d, openPMD::Datatype const e)
303303
|| isSameComplexFloatingPoint(d, e)
304304
// same char
305305
|| isSameChar(d, e);
306-
if (!res)
307-
{
308-
std::cerr << "Comparing Datatype " << d << " to " << e << " failed:\n";
309-
std::cerr << "\t(signed: " << isSigned(d) << ", size: " << toBits(d)
310-
<< ") -- (signed: " << isSigned(e) << ", size: " << toBits(e)
311-
<< ")" << std::endl;
312-
}
313-
return res;
314306
}
315307
} // namespace openPMD
316308

0 commit comments

Comments
 (0)