diff --git a/README.md b/README.md index dc55985..c3e3996 100644 --- a/README.md +++ b/README.md @@ -66,12 +66,10 @@ use phastft::{ fft_64 }; -fn main() { - let big_n = 1 << 10; - let mut reals: Vec = (1..=big_n).map(|i| i as f64).collect(); - let mut imags: Vec = (1..=big_n).map(|i| i as f64).collect(); - fft_64(&mut reals, &mut imags, Direction::Forward); -} +let big_n = 1 << 10; +let mut reals: Vec = (1..=big_n).map(|i| i as f64).collect(); +let mut imags: Vec = (1..=big_n).map(|i| i as f64).collect(); +fft_64(&mut reals, &mut imags, Direction::Forward); ``` ### Python