Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: optimize compute_smooth_weight (#4390)
New implmenetation is obviously more efficient. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced the `compute_smooth_weight` functionality for improved efficiency and clarity by simplifying the distance handling logic. - **Bug Fixes** - Removed unnecessary masking conditions, ensuring smoother calculations within defined distance ranges. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
- Loading branch information