File: memmap-byte-order

package info (click to toggle)
joblib 1.2.0-4%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,152 kB
  • sloc: python: 13,781; sh: 189; makefile: 33
file content (11 lines) | stat: -rw-r--r-- 296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/joblib/numpy_pickle.py
+++ b/joblib/numpy_pickle.py
@@ -229,7 +229,7 @@
             )
             warnings.warn(message)
 
-        return marray
+        return _ensure_native_byte_order(marray)
 
     def read(self, unpickler):
         """Read the array corresponding to this wrapper.