Skip to content

Commit c448662

Browse files
ichiniiJonasTrenkler
authored andcommitted
make h5 complex compatible with python complex
1 parent d5fd875 commit c448662

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Intern/rayx-core/src/Writer/H5Writer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ inline HighFive::DataType highfive_create_type_EventType() {
2424

2525
inline HighFive::DataType highfive_create_type_ElectricField() {
2626
return HighFive::CompoundType({
27-
{"real", HighFive::AtomicType<double>(), 0},
28-
{"imag", HighFive::AtomicType<double>(), sizeof(double)},
27+
{"r", HighFive::AtomicType<double>(), 0},
28+
{"i", HighFive::AtomicType<double>(), sizeof(double)},
2929
});
3030
}
3131
} // unnamed namespace

0 commit comments

Comments
 (0)