Skip to content

Add docstring to gjk_normalize function#1114

Open
arushsinghal wants to merge 2 commits intogoogle-deepmind:mainfrom
arushsinghal:main
Open

Add docstring to gjk_normalize function#1114
arushsinghal wants to merge 2 commits intogoogle-deepmind:mainfrom
arushsinghal:main

Conversation

@arushsinghal
Copy link

Adds Google-style docstring to the gjk_normalize utility function explaining its bounds checking behavior for the GJK algorithm.

- Create centralized assert_allclose() function in conftest.py
- Unifies tolerance configuration across all test files
- Maintains backward compatibility with local _assert_eq() wrappers
- Reduces code duplication: 6 test files previously had duplicate assertion logic
- Supports custom tolerance multipliers per test file
- Single source of truth for test tolerance settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant