Skip to content

Commit

Permalink
Incorporated Geordie's changes into the code
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhtar committed Jan 21, 2025
1 parent 52e568d commit ff4cd5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/altrios-core/src/meet_pass/train_disp/free_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,9 +719,9 @@ impl TrainDisp {

// Update front and back dispatch nodes
let (idx_min, idx_max) = if self.disp_node_idx_back < self.disp_node_idx_front {
(&mut self.disp_node_idx_front, &mut self.disp_node_idx_back)
} else {
(&mut self.disp_node_idx_back, &mut self.disp_node_idx_front)
} else {
(&mut self.disp_node_idx_front, &mut self.disp_node_idx_back)
};
assert!(idx_max.idx() < idx_join_base);

Expand Down

0 comments on commit ff4cd5c

Please sign in to comment.