Skip to content

Commit

Permalink
Fix potential index error if traj epoch does not align in RIC computa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
ChristopherRabotin committed Sep 5, 2023
1 parent 3ecb2f0 commit 9e93a4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/md/trajectory/traj.rs
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ where
.transpose()
};

let dcm_post = if ii == self_states.len() {
let dcm_post = if ii == self_states_post.len() {
dcm_cur
} else {
self_states_post[ii]
Expand Down

0 comments on commit 9e93a4e

Please sign in to comment.