refactor!: from compact_strains feat to raw_strains

This commit is contained in:
MaxOhn
2024-11-18 16:38:53 +01:00
parent 60f4f89cdb
commit ab5beded06
5 changed files with 21 additions and 20 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
pub use inner::*;
#[cfg(feature = "compact_strains")]
#[cfg(not(feature = "raw_strains"))]
mod inner {
use std::{iter::Copied, slice::Iter};
@@ -318,14 +318,14 @@ mod inner {
}
}
#[cfg(not(feature = "compact_strains"))]
#[cfg(feature = "raw_strains")]
mod inner {
use std::{
iter::Copied,
slice::{Iter, IterMut},
};
/// Plain wrapper around `Vec<f64>` because the `compact_strains` feature
/// Plain wrapper around `Vec<f64>` because the `raw_strains` feature
/// is disabled.
#[derive(Clone)]
pub struct StrainsVec {