]> www.ginac.de Git - ginac.git/blobdiff - ginac/symmetry.cpp
Replace use of NULL by C++11 nullptr.
[ginac.git] / ginac / symmetry.cpp
index 270344e990a3b294e33cc395ca08fdae5386d8df..71932ffa0362b72bb4275a326cd0030e53a6f2a5 100644 (file)
@@ -504,7 +504,7 @@ static ex symm(const ex & e, exvector::const_iterator first, exvector::const_ite
        unsigned *iv = new unsigned[num], *iv2;
        for (unsigned i=0; i<num; i++)
                iv[i] = i;
-       iv2 = (asymmetric ? new unsigned[num] : NULL);
+       iv2 = (asymmetric ? new unsigned[num] : nullptr);
 
        // Loop over all permutations (the first permutation, which is the
        // identity, is unrolled)