distributed: Fix msgpack encoder's float endianness

This commit is contained in:
Sam Edwards 2017-04-02 20:11:52 -06:00
parent b5d2f72b48
commit 3f950d37df
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def msgpack_encode(dg, element):
# Python does not distinguish between floats and doubles, so we send
# everything as a double in MsgPack:
dg.addUint8(0xcb)
dg.addFloat64(element)
dg.addBeFloat64(element)
else:
raise TypeError('Encountered non-MsgPack-packable value: %r' % element)