aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index a0d20c8..81498a7 100644
--- a/main.cpp
+++ b/main.cpp
@@ -135,7 +135,8 @@ int main(int argc, char **argv)
sampleIndices.load(indicesFilename.toStdString(), arma::raw_ascii);
subsampleSize = sampleIndices.n_elem;
} else {
- sampleIndices = relevanceSampling(X, subsampleSize);
+ // sampleIndices = relevanceSampling(X, subsampleSize);
+ sampleIndices = arma::randi<arma::uvec>(subsampleSize, arma::distr_param(0, n-1));
}
}
if (parser.isSet(subsampleFileOutputOption)) {