Skip to content

Conversation

jacomyal
Copy link
Contributor

This commit fixes #11868.

The ManchetteWithSpaceTimeChart was crashing when moving to the linear scale, and when there are are least two waypoints exactly at the same position.

This commit addresses that issue by fixing how spaceScales is computed in useManchetteWithSpaceTimeChart, ensuring there are no SpaceScale with a 0 coefficient or an infinite size.

This commit fixes #11868.

The ManchetteWithSpaceTimeChart was crashing when moving to the linear
scale, and when there are are least two waypoints exactly at the same
position.

This commit addresses that issue by fixing how spaceScales is computed
in useManchetteWithSpaceTimeChart, ensuring there are no SpaceScale with
a 0 coefficient or an infinite size.

Signed-off-by: Alexis Jacomy <[email protected]>
@jacomyal jacomyal requested a review from a team as a code owner May 23, 2025 07:47
@github-actions github-actions bot added the area:front Work on Standard OSRD Interface modules label May 23, 2025
Copy link
Contributor

@SharglutDev SharglutDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks ✅

@jacomyal jacomyal added this pull request to the merge queue May 23, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 23, 2025
@jacomyal jacomyal added this pull request to the merge queue May 23, 2025
Merged via the queue into dev with commit 4bdfe6c May 23, 2025
27 checks passed
@jacomyal jacomyal deleted the ajy/11868 branch May 23, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:front Work on Standard OSRD Interface modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

White page using linear projection with a lot of intermediate OP
2 participants