]> www.ginac.de Git - ginac.git/blobdiff - ginac/relational.cpp
define lgamma and tgamma taking cl_N as an argument.
[ginac.git] / ginac / relational.cpp
index 63dd2459c610d8295c1421e7dd4aa5361be7efdc..434b620a59cf25f890d1f87d7a0c977b2e70132a 100644 (file)
@@ -3,7 +3,7 @@
  *  Implementation of relations between expressions */
 
 /*
- *  GiNaC Copyright (C) 1999-2006 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2008 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
@@ -250,7 +250,7 @@ unsigned relational::return_type() const
        return lh.return_type();
 }
    
-const basic* relational::return_type_tinfo() const
+tinfo_t relational::return_type_tinfo() const
 {
        GINAC_ASSERT(lh.return_type_tinfo()==rh.return_type_tinfo());
        return lh.return_type_tinfo();
@@ -258,7 +258,7 @@ const basic* relational::return_type_tinfo() const
 
 unsigned relational::calchash() const
 {
-       unsigned v = golden_ratio_hash((unsigned)tinfo());
+       unsigned v = golden_ratio_hash((p_int)tinfo());
        unsigned lhash = lh.gethash();
        unsigned rhash = rh.gethash();