Skip to content

Conversation

Permanence-AI-Coder
Copy link

The changes in this PR were automatically generated by the Permanence AI Coder and reviewed by @eelenberg and @jweese. Here, b_std is being squared, and the product could overflow its type float before it is assigned to the double variance. To prevent the overflow, b_std is cast to double before performing the multiplication.

on-behalf-of: @permanence-ai [email protected]

The changes in this PR were automatically generated by the Permanence AI
Coder and reviewed by @eelenberg and @jweese. Here, `b_std` is being
squared, and the product could overflow its type `float` before it is
assigned to the `double` `variance`. To prevent the overflow, `b_std` is
cast to `double` before performing the multiplication.

on-behalf-of: @permanence-ai [email protected]
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