WIP: Added `#[derive(Clone)]` to `Dataset` and `Trajectory`

pull/79/head
Meliurwen 2 years ago
parent 8d0f9db289
commit 468ebf09cc
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 2
      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<f64>,
events: Array2<usize>,
@ -29,6 +30,7 @@ impl Trajectory {
}
}
#[derive(Clone)]
pub struct Dataset {
trajectories: Vec<Trajectory>,
}

Loading…
Cancel
Save