]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.h
#ifndef around namespace GiNaC { }
[ginac.git] / ginac / mul.h
index 4e5a6e63846c10703c06d6d5742671fdc55bef8a..76546eb04072135e4e6f02118f3c45e00193d816 100644 (file)
@@ -25,7 +25,9 @@
 
 #include <ginac/expairseq.h>
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 /** Product of expressions. */
 class mul : public expairseq
@@ -82,8 +84,6 @@ protected:
     unsigned return_type_tinfo(void) const;
     ex thisexpairseq(epvector const & v, ex const & oc) const;
     ex thisexpairseq(epvector * vp, ex const & oc) const;
-    void printpair(ostream & os, expair const & p,
-                   unsigned upper_precedence) const;
     expair split_ex_to_pair(ex const & e) const;
     expair combine_ex_with_coeff_to_pair(ex const & e,
                                          ex const & c) const;
@@ -121,6 +121,8 @@ inline const mul &ex_to_mul(const ex &e)
        return static_cast<const mul &>(*e.bp);
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
 #endif // ndef __GINAC_MUL_H__