Skip to content

Make Shape::set_dimensions_minor() safer by #25338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2025
Merged

Conversation

copybara-service[bot]
Copy link

Make Shape::set_dimensions_minor() safer by

  • giving it an optional parameter for the caller to indicate whether the dimension is dynamic or static, and
  • validating its arguments.

Also fix some incorrect comments.

- giving it an optional parameter for the caller to indicate whether the dimension is dynamic or static, and
- validating its arguments.

Also fix some incorrect comments.

PiperOrigin-RevId: 748871858
@copybara-service copybara-service bot merged commit fb977e8 into main Apr 18, 2025
@copybara-service copybara-service bot deleted the test_748354950 branch April 18, 2025 01:04
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