Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The per-vector loops slice
x.shapewith the raw axis. With a negative axis this can include the time dimension among the vector indices, leading to an indexing error or results along the wrong dimension. For example:Before, this raises
IndexError: too many indices for array. After, both shapes are(2, 9), with the same values asaxis=1.Normalize the axis before building vector index tuples in
splinediff,polydiff,rtsdiff,robustdiffandtvrdiff. Indexingrange(x.ndim)resolves valid negative axes and rejects out-of-range axes. The numerical algorithms and positive-axis paths stay the same.Validation: all 225 tests pass, including equivalent-axis and input-preservation regressions. Pylint was run against both sources; existing diagnostics remain. In 108 recorded KITTI velocity/gyro workflows with scalar and irregular timing, 30 exceptions and six incorrect results become zero. All 54 positive-axis control hashes remain exact. Separate cubic-spline and dense Gaussian trajectory references agree within 3.4e-9. The existing convex-solver accuracy warning is also present on the unmodified base.