summaryrefslogtreecommitdiff
path: root/silx/opencl/codec/byte_offset.py
diff options
context:
space:
mode:
authorAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2020-07-21 14:45:14 +0200
committerAlexandre Marie <alexandre.marie@synchrotron-soleil.fr>2020-07-21 14:45:14 +0200
commit328032e2317e3ac4859196bbf12bdb71795302fe (patch)
tree8cd13462beab109e3cb53410c42335b6d1e00ee6 /silx/opencl/codec/byte_offset.py
parent33ed2a64c92b0311ae35456c016eb284e426afc2 (diff)
New upstream version 0.13.0+dfsg
Diffstat (limited to 'silx/opencl/codec/byte_offset.py')
-rw-r--r--silx/opencl/codec/byte_offset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/silx/opencl/codec/byte_offset.py b/silx/opencl/codec/byte_offset.py
index eaf37ee..9a52427 100644
--- a/silx/opencl/codec/byte_offset.py
+++ b/silx/opencl/codec/byte_offset.py
@@ -4,7 +4,7 @@
# Project: Sift implementation in Python + OpenCL
# https://github.com/silx-kit/silx
#
-# Copyright (C) 2013-2018 European Synchrotron Radiation Facility, Grenoble, France
+# Copyright (C) 2013-2020 European Synchrotron Radiation Facility, Grenoble, France
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
@@ -436,4 +436,4 @@ class ByteOffset(OpenclProcessing):
:rtype: bytes
"""
compressed_array = self.encode(data)
- return compressed_array.get().tostring()
+ return compressed_array.get().tobytes()