Skip to content

Commit

Permalink
add serde support to WaveletMatrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cydhra committed Sep 8, 2024
1 parent 4301062 commit d669432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wavelet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ use std::ops::Range;
///
/// [`RsVec`]: RsVec
#[derive(Clone, Debug)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct WaveletMatrix {
data: Box<[RsVec]>,
bits_per_element: u16,
Expand Down

0 comments on commit d669432

Please sign in to comment.