diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-01-27 15:08:16 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2018-01-27 15:11:39 +0100 |
commit | 7577252b1bd3e38a0aa6da1e5e6beee333af5e6f (patch) | |
tree | ccc49ab7f9f68012f5705b60c054d5a7c70d040d /thirdparty/openssl/crypto/bf/bf_ofb64.c | |
parent | 4a042b1f7a4d6d9d41ab46c5e0f069d848b408f5 (diff) |
Use the appropriate Variant hash and compare functions for Dictionaries
Dictionaires did not use the VariantHasher and VariantComparator making
them unsafe for use with NaN values as keys. This PR uses the
appropriate Variant implementations for these functions.
var d = {}
d[Vector2(NAN, NAN)] = 0
d[Vector2(NAN, NAN)] = 0
print(d.size())
will now output '1' and not '2'
This fixes #16031
Diffstat (limited to 'thirdparty/openssl/crypto/bf/bf_ofb64.c')
0 files changed, 0 insertions, 0 deletions