]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/pgcd.h
[BUGFIX] Fix crash in parser.
[ginac.git] / ginac / polynomial / pgcd.h
index 5e720381690a5a1daa11aff3cbdfd97a7279bd90..c8363ac7a5e5499c0af68edfbdbf27074fb8534f 100644 (file)
@@ -1,9 +1,31 @@
+/** @file pgcd.h
+ *
+ *  Interface to GCD functions for polynomials over prime fields. */
+
+/*
+ *  GiNaC Copyright (C) 1999-2024 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
+ */
+
 #ifndef GINAC_CHINREM_GCD_PGCD_H
 #define GINAC_CHINREM_GCD_PGCD_H
 #ifndef GINAC_CHINREM_GCD_PGCD_H
 #define GINAC_CHINREM_GCD_PGCD_H
+
 #include "ex.h"
 
 #include "ex.h"
 
-namespace GiNaC
-{
+namespace GiNaC {
 
 /// Exception to be thrown when modular GCD algorithm fails
 struct pgcd_failed
 
 /// Exception to be thrown when modular GCD algorithm fails
 struct pgcd_failed
@@ -24,4 +46,4 @@ pgcd(const ex& A, const ex& B, const exvector& vars, const long p);
 
 } // namespace GiNaC
 
 
 } // namespace GiNaC
 
-#endif
+#endif // ndef GINAC_CHINREM_GCD_PGCD_H