Skip to content

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

Merged
janickm merged 1 commit into
NVIDIA:mainfrom
janickm:dev/janickm/fix-windshield-validation
May 15, 2026
Merged

fix(types): correct dtype validation in BivariateWindshieldModelParameters#112
janickm merged 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

@janickm janickm self-assigned this May 15, 2026
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented May 15, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@janickm janickm force-pushed the dev/janickm/fix-windshield-validation branch from d12f286 to 6524cf2 Compare May 15, 2026 09:49
@janickm
Copy link
Copy Markdown
Collaborator Author

janickm commented May 15, 2026

/ok to test 6524cf2

@janickm janickm merged commit 0cc85ea into NVIDIA:main May 15, 2026
5 checks passed
@janickm janickm deleted the dev/janickm/fix-windshield-validation branch May 15, 2026 10:39
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