]> www.ginac.de Git - ginac.git/blobdiff - ginac/expairseq.h
fixed a bug where quo() would call vector::reserve() with a negative argument
[ginac.git] / ginac / expairseq.h
index 9fe72d579a5fb59b33e1f733710dcf30602d6a1c..11de71b8339392720326b5978b13ad0619d8f446 100644 (file)
@@ -63,7 +63,7 @@ class expairseq : public basic
 
 // member functions
 
-       // default ctor, dtor, copy ctor assignment operator and helpers
+       // default ctor, dtor, copy ctor, assignment operator and helpers
 public:
        expairseq() : basic(TINFO_expairseq)
 #if EXPAIRSEQ_USE_HASHTAB
@@ -182,13 +182,6 @@ protected:
 
 // utility functions
 
-/** Return the expairseq object handled by an ex.  Deprecated: use ex_to<expairseq>().
- *  This is unsafe: you need to check the type first. */
-inline const expairseq &ex_to_expairseq(const ex &e)
-{
-       return static_cast<const expairseq &>(*e.bp);
-}
-
 /** Specialization of is_exactly_a<expairseq>(obj) for expairseq objects. */
 template<> inline bool is_exactly_a<expairseq>(const basic & obj)
 {