diff options
Diffstat (limited to 'silx/math')
-rw-r--r-- | silx/math/colormap.pyx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/silx/math/colormap.pyx b/silx/math/colormap.pyx index dde249d..2495f3c 100644 --- a/silx/math/colormap.pyx +++ b/silx/math/colormap.pyx @@ -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( |