Skip to content

Commit 6d14c62

Browse files
authored
Merge pull request #412 from QuLogic/fix-wk1
Add missing endianness in WK1 reader.
2 parents f75ade3 + 9059356 commit 6d14c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libpysal/io/iohandlers/wk1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def _read(self):
227227

228228
if dtype in [13, 14, 16]:
229229
self.file.read(1)
230-
row, column = struct.unpack("2H", self.file.read(4))
230+
row, column = struct.unpack("<2H", self.file.read(4))
231231
format, length = "<d", 8
232232

233233
if dtype == 13:

0 commit comments

Comments
 (0)