X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=unifracweightedcommand.cpp;h=633cb643a213044e4f7e92c108ad012690deff09;hb=8338fe821bc5e3f3cf15a5bf165eabe103b1ebce;hp=a4a1bc3defc98beb608b38645471e46541a0b10f;hpb=dec4333b64891e0b923c862446cf2e3befa7e3d3;p=mothur.git diff --git a/unifracweightedcommand.cpp b/unifracweightedcommand.cpp index a4a1bc3..633cb64 100644 --- a/unifracweightedcommand.cpp +++ b/unifracweightedcommand.cpp @@ -660,7 +660,7 @@ int UnifracWeightedCommand::runRandomCalcs(Tree* thisTree, vector usersS createProcesses(thisTree, namesOfGroupCombos, rScores); } #else - driver(T[i], namesOfGroupCombos, 0, namesOfGroupCombos.size(), rScores); + driver(thisTree, namesOfGroupCombos, 0, namesOfGroupCombos.size(), rScores); #endif if (m->control_pressed) { delete tmap; for (int i = 0; i < T.size(); i++) { delete T[i]; } delete output; outSum.close(); for (int i = 0; i < outputNames.size(); i++) { m->mothurRemove(outputNames[i]); } return 0; }