From 3cfe31f019bec140bc7644bc9bcc709d9560c900 Mon Sep 17 00:00:00 2001 From: CodeReclaimers Date: Mon, 16 Feb 2026 16:22:03 -0500 Subject: [PATCH] Fix syntax error in RobustDOP: period instead of semicolon Lines 113 and 216 end with '.' instead of ';' inside #if defined(GTE_DISCARD_FMA), causing a compilation failure when that macro is defined. Co-Authored-By: Claude Opus 4.6 --- GTE/Mathematics/Functions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GTE/Mathematics/Functions.h b/GTE/Mathematics/Functions.h index 60076669..1acaeaae 100644 --- a/GTE/Mathematics/Functions.h +++ b/GTE/Mathematics/Functions.h @@ -3,7 +3,7 @@ // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt // https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt -// File Version: 8.0.2025.05.10 +// File Version: 8.0.2026.02.16 #pragma once @@ -110,7 +110,7 @@ namespace gte inline float RobustDOP(float u, float v, float w, float z) { #if defined(GTE_DISCARD_FMA) - return u * v - w * z. + return u * v - w * z; #else float productWZ = w * z; float roundingError = std::fma(-w, z, productWZ); @@ -213,7 +213,7 @@ namespace gte inline double RobustDOP(double u, double v, double w, double z) { #if defined(GTE_DISCARD_FMA) - return u * v - w * z. + return u * v - w * z; #else double productWZ = w * z; double roundingError = std::fma(-w, z, productWZ);