]> www.ginac.de Git - ginac.git/blobdiff - check/randomize_serials.cpp
[PATCH 2/2] chinrem_gcd: return correct integer content when GCD is a number.
[ginac.git] / check / randomize_serials.cpp
index ad29a1bac218f58159357e3d20b58aa6a6f46b0f..398fa8f815181b07247a3c14ac553c14a9f181c8 100644 (file)
@@ -1,8 +1,32 @@
+/** @file randomize_serials.cpp
+ *
+ *  Utilitiy function used by the benchmarks.
+ */
+
+/*
+ *  GiNaC Copyright (C) 1999-2010 Johannes Gutenberg University Mainz, Germany
+ *
+ *  This program 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 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program 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 this program; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include "ginac.h"
+using namespace GiNaC;
+
 #include <cstdlib>
 #include <ctime>
-#include "ginac.h"
 using namespace std;
-using namespace GiNaC;
 
 /** Generate a random amount of symbols and destroy them again immediatly.
  *  This operation effectively makes the serial numbers of all subsequent
@@ -27,5 +51,3 @@ void randomify_symbol_serials()
                symbol("dummy");
        }
 }
-
-