From 2f2d95eb9ffa6028d4c868da9f72f62d3353968e Mon Sep 17 00:00:00 2001 From: Thomas Maullin-Sapey Date: Thu, 18 Oct 2018 15:18:36 +0100 Subject: [PATCH] index unnecessary - already calculated earlier --- swe_cp_WB.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/swe_cp_WB.m b/swe_cp_WB.m index 5ffd54b..54e540b 100644 --- a/swe_cp_WB.m +++ b/swe_cp_WB.m @@ -1639,9 +1639,6 @@ function swe_cp_WB(SwE) % Obtain P values. pvol=swe_hyptest(SwE, score, blksz, cCovBc, Cov_vis, dofMat); - - % Get indices of current block. - index = (1+(bch-1)*blksz) : (bch * blksz); % Current XYZ indices currXYZ = XYZ(1:3, index); @@ -1658,7 +1655,7 @@ function swe_cp_WB(SwE) end - end + end end % (bch)