projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add repr(C) to FFTComplex just in case
[nihav.git]
/
nihav-core
/
src
/
dsp
/
fft.rs
diff --git
a/nihav-core/src/dsp/fft.rs
b/nihav-core/src/dsp/fft.rs
index 3727e387c7151460bfa1ebf96b8513f980ec510a..2ab955477265156fa34a419589afd2053aae05ae 100644
(file)
--- a/
nihav-core/src/dsp/fft.rs
+++ b/
nihav-core/src/dsp/fft.rs
@@
-2,6
+2,7
@@
use std::f32::{self, consts};
use std::ops::{Not, Neg, Add, AddAssign, Sub, SubAssign, Mul, MulAssign};
use std::fmt;
+#[repr(C)]
#[derive(Debug,Clone,Copy,PartialEq)]
pub struct FFTComplex {
pub re: f32,