From 1bfaad561a91e417fe588a75ca57526b999ee71e Mon Sep 17 00:00:00 2001 From: Moises Fernandez <moisesf@fmrib.ox.ac.uk> Date: Mon, 29 Apr 2013 13:24:25 +0000 Subject: [PATCH] Fix name of variable (LR) --- xfibres_gpu.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xfibres_gpu.cc b/xfibres_gpu.cc index 2b0622a..717e183 100644 --- a/xfibres_gpu.cc +++ b/xfibres_gpu.cc @@ -108,12 +108,12 @@ int main(int argc, char *argv[]){ if(last_sub_part<(SIZE_SUB_PART*0.5)){ //if is too small the last part we distribute it between the others if(nsubparts-1){ - size_sub_partLR = size_sub_partLR + last_sub_partLR/(nsubparts-1); + size_sub_part = size_sub_part + last_sub_part/(nsubparts-1); nsubparts--; }else{ - size_sub_partLR = 0; + size_sub_part = 0; } - last_sub_partLR = size_partLR - ((nsubparts-1)*size_sub_partLR); + last_sub_part = size_part - ((nsubparts-1)*size_sub_part); } Matrix mydatam_part; -- GitLab