diff options
author | Campbell Barton <campbell@blender.org> | 2022-06-09 14:26:48 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-06-09 14:26:48 +0300 |
commit | ed159004739c7331640a88ab3c4fe25e33c8ebc0 (patch) | |
tree | eb64fea11c4e88204aacb68f9708577fca8e90e0 /source/blender/blenlib | |
parent | 8a6cbcf386a1833d2b76aa0afc8abf830493f190 (diff) |
Cleanup: use const variables & arguments
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/math_solvers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_solvers.c b/source/blender/blenlib/intern/math_solvers.c index 2352d687061..b5650410a70 100644 --- a/source/blender/blenlib/intern/math_solvers.c +++ b/source/blender/blenlib/intern/math_solvers.c @@ -99,8 +99,8 @@ bool BLI_tridiagonal_solve_cyclic( /* Degenerate case that works but can be simplified. */ if (count == 2) { - float a2[2] = {0, a[1] + c[1]}; - float c2[2] = {a[0] + c[0], 0}; + const float a2[2] = {0, a[1] + c[1]}; + const float c2[2] = {a[0] + c[0], 0}; return BLI_tridiagonal_solve(a2, b, c2, d, r_x, count); } |