]> www.ginac.de Git - ginac.git/blobdiff - ginac/mul.h
- prepared for 1.0.13 release
[ginac.git] / ginac / mul.h
index 39138c2e6ad2bab0fb0a7be374f9efeb0c1833ab..d7df44a964cc961c6f891339866a427b360f388a 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's products of expressions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2001 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -45,7 +45,7 @@ public:
        mul(epvector * vp, const ex & oc);
        mul(const ex & lh, const ex & mh, const ex & rh);
        
-       // functions overriding virtual functions from bases classes
+       // functions overriding virtual functions from base classes
 public:
        void print(const print_context & c, unsigned level = 0) const;
        unsigned precedence(void) const {return 50;}
@@ -91,13 +91,6 @@ protected:
 
 // utility functions
 
-/** Return the mul object handled by an ex.
- *  This is unsafe: you need to check the type first. */
-inline const mul &ex_to_mul(const ex &e)
-{
-       return static_cast<const mul &>(*e.bp);
-}
-
 /** Specialization of is_exactly_a<mul>(obj) for mul objects. */
 template<> inline bool is_exactly_a<mul>(const basic & obj)
 {