Merge pull request #502 from gonsolo/fix_gcc_15

Fix build with GCC 15.
This commit is contained in:
Matt Pharr 2025-10-22 12:21:23 -07:00 • committed by GitHub
commit 49c38c2526
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -590,7 +590,8 @@ TEST(PointVector, Interval) {
p += v;
p = (p - v);
p = p + 4 * v;
Vector3<Interval> scaled = Interval(4) * v;
p = static_cast<Point3<Interval>>(p) + scaled;
Interval d = Dot(v, v);
d = DistanceSquared(p, q);
d = Distance(p, q);