Skip to content

Commit

Permalink
Updating release notes after previous bugfix.
Browse files Browse the repository at this point in the history
Also fixing Travis journal for `9.2.0_1` -> `9.2.0_2` update of
the homebrew `gcc`:

https://travis-ci.org/dhermes/bezier/jobs/632582154
  • Loading branch information
dhermes committed Jan 4, 2020
1 parent 5768824 commit ce54b48
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
13 changes: 13 additions & 0 deletions docs/releases/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@ Build
.. _recent commits: https://github.com/dhermes/bezier-wheels/compare/ee008511d5ff2736dfb44f770552e7553b00e8f0...424453f50fbb8f240ca60280b637a278f6e9ad4a
.. _code formatter: https://black.readthedocs.io

Bug Fixes
---------

- Fixing high-degree error in ``Curve.evaluate()``
`method <https://bezier.readthedocs.io/en/latest/python/reference/bezier.curve.html#bezier.curve.Curve.evaluate>`__,
via the ``evaluate_curve_barycentric()`` Fortran
`subroutine <https://bezier.readthedocs.io/en/latest/abi/curve.html#c.evaluate_curve_barycentric>`__
(`5768824 <https://github.com/dhermes/bezier/commit/57688243b9264ca7ea48423f100e8f516ba2fa2f>`__).
Fixed `#156 <https://github.com/dhermes/bezier/issues/156>`__. The code uses
:math:`\binom{n}{k + 1} = \frac{n - k}{k + 1} \binom{n}{k}` to update the
value and :math:`(30 - 14) \binom{30}{14}` caused the 32-bit signed integer
to overflow.

Miscellany
~~~~~~~~~~

Expand Down
6 changes: 3 additions & 3 deletions scripts/macos/travis_journal.txt
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ $ gcc \
> build/temp.macosx-10.6-intel-3.7/src/fortran/quadpack/dqpsrt.o \
> build/temp.macosx-10.6-intel-3.7/src/fortran/quadpack/dqk21.o \
> build/temp.macosx-10.6-intel-3.7/src/fortran/quadpack/dqagse.o \
> -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9 \
> -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 \
> -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. \
> -L/usr/local/Cellar/gcc/9.2.0_2/lib/gcc/9 \
> -L/usr/local/Cellar/gcc/9.2.0_2/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 \
> -L/usr/local/Cellar/gcc/9.2.0_2/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. \
> -lgfortran \
> -o \
> build/lib.macosx-10.6-intel-3.7/bezier/_speedup.cpython-37m-darwin.so
Expand Down

0 comments on commit ce54b48

Please sign in to comment.