]> www.ginac.de Git - ginac.git/commitdiff
[DOC] Fix build of reference.pdf.
authorRichard Kreckel <kreckel@ginac.de>
Sat, 11 Feb 2023 23:09:48 +0000 (00:09 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Sat, 11 Feb 2023 23:20:05 +0000 (00:20 +0100)
This is obnoxious: It is 2023, the ≥ character is in Unicode since
1993, and UTF-8 is ubiquitous. Yet, pdfLaTeX balks at this.

Maybe the right fix would be to switch to LuaLaTeX. Alas, that doesn't
seem to have reached the necessary maturity yet:
<https://tug.org/pipermail/luatex/2023-February/007799.html>

ginac/numeric.cpp

index c28cc56ad2853a34882800a5c272bf40ecc66480..92b3c46645f71bbf1ff028244d9c4320965e6fba 100644 (file)
@@ -2139,7 +2139,7 @@ const numeric doublefactorial(const numeric &n)
 /** The Binomial coefficients.  It computes the binomial coefficients.  For
  *  integer n and k and positive n this is the number of ways of choosing k
  *  objects from n distinct objects.  If n is a negative integer, the formula
- *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k0)
+ *  binomial(n,k) == (-1)^k*binomial(k-n-1,k) (if k>=0)
  *  binomial(n,k) == (-1)^(n-k)*binomial(-k-1,n-k) (otherwise)
  *  is used to compute the result. */
 const numeric binomial(const numeric &n, const numeric &k)