-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix build failing with float precision mismatch #3002
Fix build failing with float precision mismatch #3002
Conversation
speech/unit_tests/test_client.py
Outdated
}, { | ||
'transcript': 'testing 4 5 6', | ||
'confidence': 0.0123456, | ||
'confidence': 0.125, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
speech/unit_tests/test_client.py
Outdated
}, { | ||
'transcript': 'testing streaming 4 5 6', | ||
'confidence': 0.0123456, | ||
'confidence': 0.125, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@lukesneeringer @geigerj Are you aware of any code paths in |
@dhermes I'm not particularly familiar with the inner workings of |
@daspecster LGTM. Let's get this merged ASAP. Squash if you'd like |
Whatever issue that caused this seems to have been a regression? I |
Build is failing due to float precision.
See: https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/876
Clarification:
float
(i.e. single) vs.double
. Double values are being cast down intofloat
(which is correct, but is also a breaking change). For example