From 0ed979a1c8e1f74a16d5c3d80d847417c582f42d Mon Sep 17 00:00:00 2001 From: Mark Rivers Date: Thu, 14 Nov 2024 15:18:27 -0600 Subject: [PATCH] Fix error with missing parentheses --- ADApp/pluginSrc/NDPluginProcess.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/ADApp/pluginSrc/NDPluginProcess.cpp b/ADApp/pluginSrc/NDPluginProcess.cpp index 2207d71c6..4e900cfbf 100644 --- a/ADApp/pluginSrc/NDPluginProcess.cpp +++ b/ADApp/pluginSrc/NDPluginProcess.cpp @@ -79,14 +79,17 @@ void NDPluginProcess::processCallbacks(NDArray *pArray) getDoubleParam (NDPluginProcessScale, &scale); getDoubleParam (NDPluginProcessOffset, &offset); } - if (enableLowClip) + if (enableLowClip) { getDoubleParam (NDPluginProcessLowClipThresh, &lowClipThresh); getDoubleParam (NDPluginProcessLowClipValue, &lowClipValue); - if (enableHighClip) + } + if (enableHighClip) { getDoubleParam (NDPluginProcessHighClipThresh, &highClipThresh); getDoubleParam (NDPluginProcessHighClipValue, &highClipValue); - if (resetFilter) + } + if (resetFilter) { setIntegerParam(NDPluginProcessResetFilter, 0); + } if (enableFilter) { getIntegerParam(NDPluginProcessNumFilter, &numFilter); getDoubleParam (NDPluginProcessOOffset, &oOffset);