Skip to content

Commit

Permalink
same fix for analytical
Browse files Browse the repository at this point in the history
  • Loading branch information
Siel committed May 8, 2024
1 parent 6f11987 commit fe9f4c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/simulator/analytical/mod.rs
Expand Up @@ -14,6 +14,9 @@ pub fn simulate_analytical_event(
ti: f64,
tf: f64,
) -> V {
if ti == tf {
return x;
}
let mut support_point = V::from_vec(support_point.clone());
let mut rateiv = V::from_vec(vec![0.0, 0.0, 0.0]);
//TODO: This should be pre-calculated
Expand Down

0 comments on commit fe9f4c2

Please sign in to comment.