From 65a9710eb66dbc00d4c4962467b753f62e7fcffe Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Thu, 4 Feb 2016 15:13:44 -0500 Subject: wasn't compiling as it was --- stratified_sampling.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stratified_sampling.cpp b/stratified_sampling.cpp index af716bc..8f408cc 100644 --- a/stratified_sampling.cpp +++ b/stratified_sampling.cpp @@ -40,7 +40,7 @@ std::pair mean_var( std::vector r){ } //actualisation du nombre de tirages à faire par strates std::vector update_sampling (std::vector p, -std::vector sigma, int n) { + std::vector sigma, int Nk) { int I = p.size(); std::vector M(I, 1); // notre vecteur final à retourner std::vector m(I, 0); //le vecteur des m_i idéals @@ -76,7 +76,7 @@ int main() std::vector q; q = quantile_norm(10, 1); - + std::pair p; std::pair mv; //number of classes -- cgit v1.2.3-70-g09d2