Skip to content

Conversation

@copybara-service
Copy link

Catch an edge case in DPGroupingFederatedSumFactory::CreateInternal: the linfinity parameter is negative but the input has type UINT64, which would cause a casting error.

A negative linfinity value causes no clamping to occur. But a value of 0 also has this effect so when the edge case happens, this CL switches from casting to passing 0.

@copybara-service copybara-service bot force-pushed the cl/839874063 branch 3 times, most recently from 58b1d37 to 00ecd63 Compare December 5, 2025 16:05
…: the `linfinity` parameter is negative but the input has type UINT64, which would cause a casting error.

A negative `linfinity` value causes no clamping to occur. But a value of 0 also has this effect so when the edge case happens, this CL switches from casting to passing 0.

PiperOrigin-RevId: 839874063
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