From 645dc7dc45eb2962b913d360913213f99b080ad2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?=
 <stephane.adjemian@univ-lemans.fr>
Date: Thu, 22 Dec 2011 11:32:53 +0100
Subject: [PATCH] Fixed headers.

---
 mex/sources/sobol/gaussian.hh           |  4 ++-
 mex/sources/sobol/initialize_v_array.hh | 22 ++++++++++++--
 mex/sources/sobol/qmc_sequence.cc       | 38 ++++++++++++++-----------
 mex/sources/sobol/sobol.hh              | 18 ++++++------
 4 files changed, 53 insertions(+), 29 deletions(-)

diff --git a/mex/sources/sobol/gaussian.hh b/mex/sources/sobol/gaussian.hh
index f58f702447..f5d9d2d7a0 100644
--- a/mex/sources/sobol/gaussian.hh
+++ b/mex/sources/sobol/gaussian.hh
@@ -17,7 +17,9 @@
 ** GNU General Public License for more details.
 **
 ** You should have received a copy of the GNU General Public License
-** along with Dynare.  If not, see <http://www.gnu.org/licenses/>.  
+** along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+** 
+** AUTHOR(S): stephane DOT adjemian AT univ DASH lemans DOT fr  
 */
 
 #include <cstdlib>
diff --git a/mex/sources/sobol/initialize_v_array.hh b/mex/sources/sobol/initialize_v_array.hh
index 2b24986542..f80b6bb459 100644
--- a/mex/sources/sobol/initialize_v_array.hh
+++ b/mex/sources/sobol/initialize_v_array.hh
@@ -2,11 +2,27 @@ template<typename T> int initialize_v_array (int dim_max, int log_max, T **v)
 /*
 ** This function initializes the v array used in the sobol routine. 
 **
-**  Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
+** Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
 **
-**  Copyright (C) -2009 John Burkardt
-**  Copiright (C)  2009 Stéphane Adjemian
+** Copyright (C) -2009 John Burkardt
+** Copyright (C)  2010-2011 Dynare Team
 **
+** This file is part of Dynare.
+**
+** Dynare is free software: you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published by
+** the Free Software Foundation, either version 3 of the License, or
+** (at your option) any later version.
+**
+** Dynare is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+** 
+** AUTHOR(S): stephane DOT adjemian AT univ DASH lemans DOT fr
 */
 {
   #include "initialize_v_array.inc"
diff --git a/mex/sources/sobol/qmc_sequence.cc b/mex/sources/sobol/qmc_sequence.cc
index f18aa18c31..d497a4fddf 100644
--- a/mex/sources/sobol/qmc_sequence.cc
+++ b/mex/sources/sobol/qmc_sequence.cc
@@ -1,21 +1,25 @@
 /*
- * Copyright (C) 2010 Dynare Team
- *
- * This file is part of Dynare (can be used outside Dynare).
- *
- * Dynare is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Dynare is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
- */
+** Computes Quasi Monte-Carlo sequence.
+**
+** Copyright (C) 2010-2011 Dynare Team
+**
+** This file is part of Dynare (can be used outside Dynare).
+**
+** Dynare is free software: you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published by
+** the Free Software Foundation, either version 3 of the License, or
+** (at your option) any later version.
+**
+** Dynare is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with Dynare.  If not, see <http://www.gnu.org/licenses/>.
+**
+** AUTHOR(S): stephane DOT adjemian AT univ DASH lemans DOT fr
+**/
 
 #include <string.h>
 #include <dynmex.h>
diff --git a/mex/sources/sobol/sobol.hh b/mex/sources/sobol/sobol.hh
index 481a5b6ef5..3d745384be 100644
--- a/mex/sources/sobol/sobol.hh
+++ b/mex/sources/sobol/sobol.hh
@@ -1,9 +1,9 @@
-/*  Quasi Monte Carlo sequences (à la Sobol).
+/* Quasi Monte Carlo sequences (à la Sobol).
 ** 
-**  Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
+** Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
 **
-**  Copyright (C)  2009 John Burkardt
-**  Copiright (C)  2010 Dynare Team
+** Copyright (C)  2009 John Burkardt
+** Copiright (C)  2010-2011 Dynare Team
 **
 ** This file is part of Dynare.
 **
@@ -19,6 +19,8 @@
 **
 ** You should have received a copy of the GNU General Public License
 ** along with Dynare.  If not, see <http://www.gnu.org/licenses/>.  
+**
+** AUTHOR(S): stephane DOT adjemian AT univ DASH lemans DOT fr
 */
 
 #include <cstdlib>
@@ -67,7 +69,7 @@ template<typename T> int bit_hi1(T n)
 **  Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
 **
 **  Copyright (C)  2009 John Burkardt
-**  Copiright (C)  2010 Dynare Team
+**  Copiright (C)  2010-2011 Dynare Team
 **
 **
 **    Input, int or long long, the integer to be measured.
@@ -119,7 +121,7 @@ template<typename T> int bit_lo0 ( T n )
 **  Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
 **
 **  Copyright (C)  2009 John Burkardt
-**  Copyright (C)  2010 Dynare Team
+**  Copyright (C)  2010-2011 Dynare Team
 **
 **  INPUTS
 **
@@ -151,7 +153,7 @@ template<typename T>  T ixor ( T i, T j )
 **  Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
 **
 **  Copyright (C)  2009 John Burkardt
-**  Copiright (C)  2010 Dynare Team
+**  Copiright (C)  2010-2011 Dynare Team
 **
 **
 **  INPUTS  I, J, two integer to be exclusive OR-ed.
@@ -200,7 +202,7 @@ template<typename T1, typename T2> void next_sobol ( int dim_num, T1 *seed, T2 *
 **  Original files downloaded from http://people.sc.fsu.edu/~burkardt/cpp_src/sobol/ (version 17-Feb-2009 09:46)
 **
 **  Copyright (C)  2009 John Burkardt
-**  Copyright (C)  2010 Dynare Team
+**  Copyright (C)  2010-2011 Dynare Team
 **
 **  Reference:
 **
-- 
GitLab