diff options
Diffstat (limited to 'source/blender/blenlib/intern/math_statistics.c')
-rw-r--r-- | source/blender/blenlib/intern/math_statistics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_statistics.c b/source/blender/blenlib/intern/math_statistics.c index e96638a4618..50fa7556134 100644 --- a/source/blender/blenlib/intern/math_statistics.c +++ b/source/blender/blenlib/intern/math_statistics.c @@ -67,8 +67,9 @@ static void covariance_m_vn_ex_task_cb( */ const int i = a / n; const int j = a % n; - if (j < i) + if (j < i) { return; + } if (center) { for (k = 0; k < nbr_cos_vn; k++) { |