Skip to content

Fix: ProjectionForward initializes accessors in both the initializer list and constructor body#450

Merged
swahtz merged 1 commit into
openvdb:mainfrom
swahtz:fix/projection_forward_accessor_init
Feb 9, 2026
Merged

Fix: ProjectionForward initializes accessors in both the initializer list and constructor body#450
swahtz merged 1 commit into
openvdb:mainfrom
swahtz:fix/projection_forward_accessor_init

Conversation

@swahtz

@swahtz swahtz commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

Fix initializing the means, quats, scales, etc. accessors initialized in both the initializer list and the body of the constructor

… in both the initializer list and the body of the constructor

Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a constructor issue in the Gaussian splatting projection forward op (ProjectionForward) where several tensor accessors were being initialized twice (once in the initializer list and again in the constructor body), which is redundant and potentially error-prone.

Changes:

  • Removed duplicate accessor assignments from the ProjectionForward constructor body.
  • Kept accessor initialization solely in the constructor initializer list for means, quats, logScales, worldToCamMatrices, and projectionMatrices.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@swahtz swahtz added the Gaussian Splatting Issues related to Gaussian splattng in the core library label Feb 9, 2026
@harrism harrism moved this to In review in fvdb-realitycapture Feb 9, 2026
@swahtz swahtz merged commit 9e68468 into openvdb:main Feb 9, 2026
38 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in fvdb-realitycapture Feb 9, 2026
@swahtz swahtz deleted the fix/projection_forward_accessor_init branch February 9, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gaussian Splatting Issues related to Gaussian splattng in the core library

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants