Closed vi closed 3 months ago
There could be an issue here https://github.com/liebharc/basic_dsp/blob/master/vector/src/vector_types/support_std.rs in the interleaved_vec_to_complex_vec function. But can't tell for sure without further tests.
Unfortunately I don't have the time and energy anymore to maintain this on my own. Feel free to submit a fix if you want. Otherwise I'd leave this issue open in case someone else wants to help out at some point.
My program panics on
get_magnitude_squared
- it accesses out of range data..data.len()
also shows excessive size afterDspVec
construction usingto_complex_time_vec
.But adding
.shrink_to_fit();
onVec
s prior to usingto_complex_time_vec
seems to work around the issue.