]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/normalize.h
Use C++11 'nullptr' where applicable.
[ginac.git] / ginac / polynomial / normalize.h
index 280e598302bef97e7c71058d5e5669df34ee5b45..e33963f6f2f51f3c4b38adfd8aa7dd976c414f3e 100644 (file)
 
 namespace GiNaC {
 
-bool normalize_in_field(umodpoly& a, cln::cl_MI* content_ = 0);
+bool normalize_in_field(umodpoly& a, cln::cl_MI* content_ = nullptr);
 
 /// Make the univariate polynomial @a x unit normal. This version is used
 /// for rings which are not fields. 
 /// Returns true if the polynomial @x is already unit normal, and false
 /// otherwise.
 template<typename T> bool
-normalize_in_ring(T& x, typename T::value_type* content_ = 0, int* unit_ = 0)
+normalize_in_ring(T& x, typename T::value_type* content_ = nullptr, int* unit_ = nullptr)
 {
        typedef typename T::value_type ring_t;
        static const ring_t one(1);