]> www.ginac.de Git - ginac.git/commitdiff
synced to HEAD
authorChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 30 Sep 2004 18:26:21 +0000 (18:26 +0000)
committerChristian Bauer <Christian.Bauer@uni-mainz.de>
Thu, 30 Sep 2004 18:26:21 +0000 (18:26 +0000)
ginac/basic.cpp
ginac/numeric.cpp

index e3ead41568e1d0693b985c5e2bb810b0cf36763b..5a467bd364a2141dd12334b7ead3dd257011d490 100644 (file)
@@ -207,7 +207,7 @@ void basic::do_print_python_repr(const print_python_repr & c, unsigned level) co
  *  @see basic::dbgprinttree */
 void basic::dbgprint() const
 {
-       this->print(std::cerr);
+       this->print(print_dflt(std::cerr));
        std::cerr << std::endl;
 }
 
index 022993d03d2ba29ec1e19c34ce191143bb656533..b6c95e01e0c9854ee3e2ab7f97156b6966afc573 100644 (file)
@@ -1628,7 +1628,7 @@ const numeric binomial(const numeric &n, const numeric &k)
                }
        }
        
-       // should really be gamma(n+1)/gamma(r+1)/gamma(n-r+1) or a suitable limit
+       // should really be gamma(n+1)/gamma(k+1)/gamma(n-k+1) or a suitable limit
        throw std::range_error("numeric::binomial(): donĀ“t know how to evaluate that.");
 }