]> www.ginac.de Git - ginac.git/blobdiff - check/exam_cra.cpp
[BUGFIX] Fix factor_univariate(poly, x) for constant poly.
[ginac.git] / check / exam_cra.cpp
index 94a5b69d596939fe753bd462ce2cc8faae3dae5b..7683eddf72b3e76f90ef2c32beee3f6416a92608 100644 (file)
@@ -3,7 +3,7 @@
  *  Test of Chinese remainder algorithm. */
 
 /*
- *  GiNaC Copyright (C) 1999-2011 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2020 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
@@ -32,6 +32,7 @@ using namespace cln;
 #include <map>
 #include <stdexcept>
 #include <vector>
+#include <algorithm>
 using namespace std;
 
 /// Generate a sequences of primes p_i such that \prod_i p_i < limit