clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I1ac255c58971ac5cc4697b8bb1069067aad02d18
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/numeric_threshold.cpp b/src/numeric_threshold.cpp
index 0b60dac..5980e23 100644
--- a/src/numeric_threshold.cpp
+++ b/src/numeric_threshold.cpp
@@ -57,10 +57,10 @@
return;
}
- bool crossedDecreasing =
- thresholdValue < prevValue && thresholdValue > value;
- bool crossedIncreasing =
- thresholdValue > prevValue && thresholdValue < value;
+ bool crossedDecreasing = thresholdValue < prevValue &&
+ thresholdValue > value;
+ bool crossedIncreasing = thresholdValue > prevValue &&
+ thresholdValue < value;
if (!crossedDecreasing && !crossedIncreasing && thresholdValue == prevValue)
{