From daf0e0ea14f260b1f333e13be41ba9a632a85315 Mon Sep 17 00:00:00 2001 From: Ingo Weyrich Date: Tue, 15 Dec 2020 12:44:20 +0100 Subject: [PATCH] Fix bad macro usage --- rtengine/rcd_demosaic.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rtengine/rcd_demosaic.cc b/rtengine/rcd_demosaic.cc index ff477281b..c7cf1e68a 100644 --- a/rtengine/rcd_demosaic.cc +++ b/rtengine/rcd_demosaic.cc @@ -196,7 +196,8 @@ void RawImageSource::rcd_demosaic(size_t chunkSize, bool measure) #else const vfloat VH_Disc = vabsf(zd5v - VH_Central_Value) < vabsf(zd5v - VH_Neighbourhood_Value) ? VH_Neighbourhood_Value : VH_Central_Value; #endif - STC2VFU(rgb[1][indx], vintpf(VH_Disc, H_Est, V_Est)); + const vfloat result = vintpf(VH_Disc, H_Est, V_Est); + STC2VFU(rgb[1][indx], result); } #endif for (; col < tilecols - 4; col += 2, indx += 2) {