Skip to content

Commit

Permalink
Todo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
green726 committed Dec 4, 2024
1 parent 7ce4c27 commit 4529ad4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/material/Walker.re
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ let build_swing_profile = (from: Dir.t, s: Swing.t): swing_profile => {
};
};


//TODO: instead of doing list.mem (equality) check if the profile has wider (more relaxed) bounds than the pre-existing profile (gte)
//make the accumulator just a list of walks (the already checked walks) and then recalcuate the profiles for each walk in the accumulator - this will solve the problem of needing to do two-way checks with profiles/walks that were already approved/checked
let walk_filter_by_swing = (from: Dir.t, walks: list(Walk.t)): list(Walk.t) => {
walks
|> List.fold_left(
Expand Down

0 comments on commit 4529ad4

Please sign in to comment.