Skip to content
Commit 0a8b6a96 authored by Andrew Woloszyn's avatar Andrew Woloszyn
Browse files

Replace an undefined double->float cast with infinity.

This was caught by UBSan. The given double would overflow
the underlying float, which is undefined. Instead test
with an explicit float::infinity.
parent 9cf87ecb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment