Skip to content
Snippets Groups Projects
Commit 1bfaad56 authored by Moises Fernandez's avatar Moises Fernandez
Browse files

Fix name of variable (LR)

parent 23438fbc
No related branches found
No related tags found
No related merge requests found
...@@ -108,12 +108,12 @@ int main(int argc, char *argv[]){ ...@@ -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(last_sub_part<(SIZE_SUB_PART*0.5)){ //if is too small the last part we distribute it between the others
if(nsubparts-1){ 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--; nsubparts--;
}else{ }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; Matrix mydatam_part;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment