Skip to content

Commit 0ed979a

Browse files
committed
Fix error with missing parentheses
1 parent f48dfbc commit 0ed979a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ADApp/pluginSrc/NDPluginProcess.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,17 @@ void NDPluginProcess::processCallbacks(NDArray *pArray)
7979
getDoubleParam (NDPluginProcessScale, &scale);
8080
getDoubleParam (NDPluginProcessOffset, &offset);
8181
}
82-
if (enableLowClip)
82+
if (enableLowClip) {
8383
getDoubleParam (NDPluginProcessLowClipThresh, &lowClipThresh);
8484
getDoubleParam (NDPluginProcessLowClipValue, &lowClipValue);
85-
if (enableHighClip)
85+
}
86+
if (enableHighClip) {
8687
getDoubleParam (NDPluginProcessHighClipThresh, &highClipThresh);
8788
getDoubleParam (NDPluginProcessHighClipValue, &highClipValue);
88-
if (resetFilter)
89+
}
90+
if (resetFilter) {
8991
setIntegerParam(NDPluginProcessResetFilter, 0);
92+
}
9093
if (enableFilter) {
9194
getIntegerParam(NDPluginProcessNumFilter, &numFilter);
9295
getDoubleParam (NDPluginProcessOOffset, &oOffset);

0 commit comments

Comments
 (0)