]> www.ginac.de Git - ginac.git/blobdiff - ginac/simp_lor.h
- added documentation to the indexed, color, lortensor and clifford classes
[ginac.git] / ginac / simp_lor.h
index 5aa60d48d950172610d28379a58b118913c89195..277f0aa66d924ab7a54349db23b7b0d0b57e4161 100644 (file)
@@ -43,21 +43,8 @@ class spmapkey_is_less
 public:
        bool operator()(const spmapkey & lh, const spmapkey & rh) const
        {
-               /*
-               cerr << "spmapkey_is_less" << endl;
-               cerr << "lh=((" << lh.first.first
-                        << "," << lh.first.second << "),";
-               lh.second.printraw(cerr);
-               cerr << ")" << endl;
-
-               cerr << "rh=((" << rh.first.first
-                        << "," << rh.first.second << "),";
-               rh.second.printraw(cerr);
-               cerr << ")" << endl;
-               */
                bool res = lh.first<rh.first
                        || (!(rh.first<lh.first) && lh.second.compare(rh.second)<0);
-               // cout << "result=" << res << endl;
                return res;
        }
 };
@@ -171,7 +158,6 @@ simp_lor lor_g(const ex & mu, const ex & nu);
 simp_lor lor_vec(const std::string & n, const ex & mu);
 ex simplify_simp_lor_mul(const ex & m, const scalar_products & sp);
 ex simplify_simp_lor(const ex & e, const scalar_products & sp=scalar_products());
-ex Dim(void);
 
 #ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC