We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed51217 commit 6031bb8Copy full SHA for 6031bb8
hdf5-types/src/complex.rs
@@ -6,6 +6,8 @@ use num_complex::Complex;
6
7
unsafe impl<T: H5Type> H5Type for Complex<T> {
8
fn type_descriptor() -> TypeDescriptor {
9
+ // Complex<T> should be FFI-equivalent to [T; 2]
10
+ // https://docs.rs/num-complex/0.4.3/num_complex/struct.Complex.html#representation-and-foreign-function-interface-compatibility
11
TypeDescriptor::Compound(CompoundType {
12
fields: vec![
13
// Compatible with h5py definition of complex
0 commit comments