From 45b50edfc82ebdc384af94461276c14e25e244c4 Mon Sep 17 00:00:00 2001 From: lambday Date: Wed, 20 Apr 2016 04:11:04 +0530 Subject: [PATCH] removed unused variable result --- src/shogun/statistical_testing/HypothesisTest.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/shogun/statistical_testing/HypothesisTest.cpp b/src/shogun/statistical_testing/HypothesisTest.cpp index 421254e0144..afadb52450d 100644 --- a/src/shogun/statistical_testing/HypothesisTest.cpp +++ b/src/shogun/statistical_testing/HypothesisTest.cpp @@ -78,9 +78,7 @@ float64_t CHypothesisTest::compute_p_value(float64_t statistic) float64_t CHypothesisTest::compute_threshold(float64_t alpha) { - float64_t result = 0; SGVector values = sample_null(); - std::sort(values.vector, values.vector + values.vlen); return values[index_t(CMath::floor(values.vlen * (1 - alpha)))]; }