Skip to content

Commit

Permalink
implementing some needed traits
Browse files Browse the repository at this point in the history
  • Loading branch information
Siel committed Sep 14, 2024
1 parent dfdbed6 commit af2f0f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/simulator/equation/analytical/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::{
use cached::proc_macro::cached;
use cached::UnboundCache;
use nalgebra::{DVector, Matrix2, Vector2};
#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct Analytical {
eq: AnalyticalEq,
seq_eq: SecEq,
Expand Down
2 changes: 1 addition & 1 deletion src/simulator/equation/sde/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ pub(crate) fn simulate_sde_event(
solution.last().unwrap().clone()
}

#[derive(Clone)]
#[derive(Clone, Debug)]
pub struct SDE {
drift: Drift,
diffusion: Diffusion,
Expand Down

0 comments on commit af2f0f6

Please sign in to comment.