|
From: <kin...@us...> - 2025-08-15 23:39:02
|
Revision: 7279
http://sourceforge.net/p/teem/code/7279
Author: kindlmann
Date: 2025-08-15 23:38:59 +0000 (Fri, 15 Aug 2025)
Log Message:
-----------
clang-format fixes
Modified Paths:
--------------
teem/trunk/src/limn/polymod.c
teem/trunk/src/limn/qn.c
teem/trunk/src/limn/splineEval.c
Modified: teem/trunk/src/limn/polymod.c
===================================================================
--- teem/trunk/src/limn/polymod.c 2025-08-15 23:38:16 UTC (rev 7278)
+++ teem/trunk/src/limn/polymod.c 2025-08-15 23:38:59 UTC (rev 7279)
@@ -217,7 +217,7 @@
++pushedNum;
}
} /* if (neighGot[ii]) */
- } /* for ii */
+ } /* for ii */
return pushedNum;
}
Modified: teem/trunk/src/limn/qn.c
===================================================================
--- teem/trunk/src/limn/qn.c 2025-08-15 23:38:16 UTC (rev 7278)
+++ teem/trunk/src/limn/qn.c 2025-08-15 23:38:59 UTC (rev 7279)
@@ -253,7 +253,7 @@
/* _16_CHECK_QtoV and _16_CHECK_VtoQ are not actually used */
#define _16_CHECK_QtoV(vec, qn) \
- ui = (qn)&0xFF; \
+ ui = (qn) & 0xFF; \
vi = ((qn) >> 8) & 0xFF; \
u = AIR_AFFINE(0, ui, 255, -0.5, 0.5); \
v = AIR_AFFINE(0, vi, 255, -0.5, 0.5); \
Modified: teem/trunk/src/limn/splineEval.c
===================================================================
--- teem/trunk/src/limn/splineEval.c 2025-08-15 23:38:16 UTC (rev 7278)
+++ teem/trunk/src/limn/splineEval.c 2025-08-15 23:38:59 UTC (rev 7279)
@@ -118,9 +118,9 @@
((x) >= 2.0 \
? 0 \
: ((x) >= 1.0 \
- ? (((-B / 6 - C) * (x) + B + 5 * C) * (x)-2 * B - 8 * C) * (x) + 4 * B / 3 \
+ ? (((-B / 6 - C) * (x) + B + 5 * C) * (x) - 2 * B - 8 * C) * (x) + 4 * B / 3 \
+ 4 * C \
- : ((2 - 3 * B / 2 - C) * (x)-3 + 2 * B + C) * (x) * (x) + 1 - B / 3))
+ : ((2 - 3 * B / 2 - C) * (x) - 3 + 2 * B + C) * (x) * (x) + 1 - B / 3))
static void
_limnSplineWeightsFind_BC(double *wght, limnSpline *spline, double f) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|