]> git.donarmstrong.com Git - mothur.git/blobdiff - cooccurrencecommand.cpp
fixed sim9 and trial_swap
[mothur.git] / cooccurrencecommand.cpp
index 8c763e275e5d9cebf885794fafdc3c9f44f0cb6a..75b87fae4303f161a1f75fb632e831672a80e29d 100644 (file)
@@ -494,6 +494,7 @@ int CooccurrenceCommand::getCooccurrence(vector<SharedRAbundVector*>& thisLookUp
             //swap_checkerboards takes the original matrix and swaps checkerboards
             else if(matrix == "sim9") {
                 trial.swap_checkerboards (co_matrix, ncols, nrows);
+                nullmatrix = co_matrix;
             }
             else {
                 m->mothurOut("[ERROR]: No null model selected!\n\n"); m->control_pressed = true;