From f79ce2d22cd224b9b8f46700d53a1e35a77ef801 Mon Sep 17 00:00:00 2001 From: Bertrand Date: Tue, 16 Feb 2016 22:45:23 +0000 Subject: re --- option.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'option.cpp') diff --git a/option.cpp b/option.cpp index e7a1fe6..7fb5ce3 100644 --- a/option.cpp +++ b/option.cpp @@ -45,11 +45,13 @@ struct quasi_option : public generator double operator()() { std::vector X(d); double sum =0; + for(int i=0; i result(3); + result = monte_carlo(100, quasi_option (N, d, A)); for(int i =0; i<3; i++){ - std::cout< (N, d, A))[i]<