X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cooccurrencecommand.cpp;fp=cooccurrencecommand.cpp;h=f0a46aaf9dfc0a729df15549a7d8fecc4c02d52a;hb=4545a2f620673a0dc2186fdbe2157e39b037cbd0;hp=e1d60b7c18553b0d3de4df1e0dd6a87ea60b17af;hpb=c92fb04685fb818b0c742bc344806c6c04ef6af2;p=mothur.git diff --git a/cooccurrencecommand.cpp b/cooccurrencecommand.cpp index e1d60b7..f0a46aa 100644 --- a/cooccurrencecommand.cpp +++ b/cooccurrencecommand.cpp @@ -408,11 +408,11 @@ int CooccurrenceCommand::getCooccurrence(vector& thisLookUp //burn-in for sim9 if(matrix == "sim9") { - for(int i=0;i<10000;i++) trial.swap_checkerboards (co_matrix, rowtotal, columntotal, ncols, nrows); + for(int i=0;i<10000;i++) trial.swap_checkerboards (co_matrix, ncols, nrows); } //populate null matrix from probability matrix, do this a lot. - for(int i=0;i(ncols, 0)); @@ -450,9 +450,9 @@ int CooccurrenceCommand::getCooccurrence(vector& thisLookUp else if(matrix == "sim4") { for(int i=0;i& thisLookUp //swap_checkerboards takes the original matrix and swaps checkerboards else if(matrix == "sim9") { - trial.swap_checkerboards (co_matrix, rowtotal, columntotal, ncols, nrows); + trial.swap_checkerboards (co_matrix, ncols, nrows); } else { m->mothurOut("[ERROR]: No null model selected!\n\n"); m->control_pressed = true;