diff --git a/reCTBN/src/tools.rs b/reCTBN/src/tools.rs index ecfeff9..47a067d 100644 --- a/reCTBN/src/tools.rs +++ b/reCTBN/src/tools.rs @@ -5,6 +5,7 @@ use ndarray::prelude::*; use crate::sampling::{ForwardSampler, Sampler}; use crate::{params, process}; +#[derive(Clone)] pub struct Trajectory { time: Array1, events: Array2, @@ -29,6 +30,7 @@ impl Trajectory { } } +#[derive(Clone)] pub struct Dataset { trajectories: Vec, }