diff -r c5d8bd1a7728 -r 0f59c0d02e13 src/kernels/hat_convolution.rs --- a/src/kernels/hat_convolution.rs Thu Jan 23 23:35:28 2025 +0100 +++ b/src/kernels/hat_convolution.rs Mon Jan 06 21:37:03 2025 -0500 @@ -1,7 +1,7 @@ //! Implementation of the convolution of two hat functions, //! and its convolution with a [`CubeIndicator`]. use numeric_literals::replace_float_literals; -use serde::Serialize; +use serde::{Serialize, Deserialize}; use alg_tools::types::*; use alg_tools::norms::*; use alg_tools::loc::Loc; @@ -69,7 +69,7 @@ // $$ // [∇f(x\_1, …, x\_n)]_j = \frac{4}{σ} (h\*h)'(x\_j/σ) \prod\_{j ≠ i} \frac{4}{σ} (h\*h)(x\_i/σ) // $$ -#[derive(Copy,Clone,Debug,Serialize,Eq)] +#[derive(Copy,Clone,Debug,Serialize,Deserialize,Eq)] pub struct HatConv { /// The parameter $σ$ of the kernel. pub radius : S,