]> www.ginac.de Git - ginac.git/commitdiff
include <algorithm> for use of std::min().
authorRichard Kreckel <kreckel@ginac.de>
Thu, 17 Dec 2015 21:57:04 +0000 (22:57 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Thu, 17 Dec 2015 22:02:49 +0000 (23:02 +0100)
Thanks to Jan Rheinländer for reporting this.

Cherry-picked from a56196f3.

check/exam_cra.cpp
ginac/polynomial/mod_gcd.cpp

index 656db59a07bb9f1ea930fe97b4b609c2ab0c2c00..a20027d07437829f3c9b1520d6beb949c8ab4630 100644 (file)
@@ -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
index 86834001fcaa231de6d24306e3a746735f656abd..a2583681f527470e2463543d3993b299b6bdef31 100644 (file)
@@ -28,6 +28,7 @@
 #include <cln/numtheory.h>
 #include <cln/random.h>
 #include <stdexcept>
+#include <algorithm>
 
 namespace GiNaC {