Skip to content

Commit

Permalink
Merge pull request #3163 from t20100/fix-cython-0.13
Browse files Browse the repository at this point in the history
Build: Fixed cython 3 compatibility
  • Loading branch information
vallsv authored Jul 22, 2020
2 parents f4fc383 + 4b77c89 commit 76d4071
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Change Log
==========

0.13.1: 2020/07/21
0.13.1: 2020/07/22
------------------

Bug fix release:

* `silx.gui.plot.dialog`: Fixed `ColormapDialog` custom range input (PR #3155)

* Build: Fixed cython 3 compatibility (PR #3163).
* Documentation: Update version number and changelog (PR #3156)


Expand Down
2 changes: 2 additions & 0 deletions silx/math/colormap.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@ def _cmap(data_types[:] data,
:param nan_color: Color to use for NaN value.
:return: The generated image
"""
cdef image_types[:, ::1] output

# Proxy for calling the right implementation depending on data type
if data_types in lut_types: # Use LUT implementation
output = compute_cmap_with_lut(
Expand Down

0 comments on commit 76d4071

Please sign in to comment.