Skip to content

fix(types): correct dtype validation in BivariateWindshieldModelParameters#120

Closed
janickm wants to merge 1 commit into
NVIDIA:mainfrom
janickm:dev/janickm/fix-windshield-validation
Closed

fix(types): correct dtype validation in BivariateWindshieldModelParameters#120
janickm wants to merge 1 commit into
NVIDIA:mainfrom
janickm:dev/janickm/fix-windshield-validation

Conversation

@janickm
Copy link
Copy Markdown
Collaborator

@janickm janickm commented May 15, 2026

Summary

  • Fix copy-paste bug in BivariateWindshieldModelParameters.__post_init__() where four assertions all checked self.horizontal_poly.dtype instead of the correct field
  • vertical_poly.dtype, horizontal_poly_inverse.dtype, and vertical_poly_inverse.dtype are now validated correctly
  • Without this fix, invalid data passes validation silently

Replaces #112 which was accidentally auto-merged during a branch mix-up.

@janickm janickm self-assigned this May 15, 2026
@janickm
Copy link
Copy Markdown
Collaborator Author

janickm commented May 15, 2026

Already merged via #112.

@janickm janickm closed this May 15, 2026
@janickm janickm deleted the dev/janickm/fix-windshield-validation branch May 18, 2026 08:19
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