Skip to content

Commit

Permalink
Found a more permissive MSRV version
Browse files Browse the repository at this point in the history
  • Loading branch information
ejmahler committed Jan 5, 2021
1 parent fbd05ce commit 0c3b0c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![](https://img.shields.io/crates/v/rustfft.svg)](https://crates.io/crates/rustfft)
[![](https://img.shields.io/crates/l/rustfft.svg)](https://crates.io/crates/rustfft)
[![](https://docs.rs/rustfft/badge.svg)](https://docs.rs/rustfft/)
![minimum rustc 1.48](https://img.shields.io/badge/rustc-1.48+-red.svg)
![minimum rustc 1.37](https://img.shields.io/badge/rustc-1.37+-red.svg)

RustFFT is a high-performance FFT library written in pure Rust. It can compute FFTs of any size, including prime-number sizes, in O(nlogn) time.

Expand All @@ -28,7 +28,7 @@ fft.process(&mut buffer);

## Supported Rust Version

RustFFT requires rustc 1.48 or newer. Minor releases of RustFFT may upgrade the MSRV(minimum supported Rust version) to a newer version of rustc.
RustFFT requires rustc 1.37 or newer. Minor releases of RustFFT may upgrade the MSRV(minimum supported Rust version) to a newer version of rustc.
However, if we need to increase the MSRV, the new Rust version must have been released at least six months ago.

## Stability/Future Breaking Changes
Expand Down
5 changes: 1 addition & 4 deletions src/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const MIN_BLUESTEIN_MIXED_RADIX_LEN: usize = 90; // only use mixed radix for the

/// A Recipe is a structure that describes the design of a FFT, without actually creating it.
/// It is used as a middle step in the planning process.
#[derive(Debug, std::cmp::PartialEq, Clone)]
#[derive(Debug, PartialEq, Clone)]
pub enum Recipe {
Dft(usize),
MixedRadix {
Expand Down Expand Up @@ -359,9 +359,6 @@ impl<T: FftNum> FftPlannerScalar<T> {
if len.is_power_of_two() {
Rc::new(Recipe::Radix4(len))
} else {
dbg!(len);
dbg!(len.trailing_zeros());
dbg!(&factors);
let non_power_of_two = factors
.remove_factors(PrimeFactor {
value: 2,
Expand Down

0 comments on commit 0c3b0c9

Please sign in to comment.