hash.d: compute hash_string properly

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
This commit is contained in:
Daniel Kochmański 2015-09-22 22:55:35 +02:00
parent 61b30811c1
commit 0d639873ff

View file

@ -120,8 +120,7 @@ _hash_equal(int depth, cl_hashkey h, cl_object x)
case t_random: {
cl_object array = x->random.value;
return hash_string
(h, (unsigned char*)array->vector.self.b8,
array->vector.fillp);
(h, (unsigned char*)array->vector.self.b8, 4*624);
}
#ifdef ECL_SIGNED_ZERO
case t_singlefloat: {