Hi all,

My implemetation of hash_value_of_vector passed the first test

The hash value for this vector, and the set of planes at index 0, is 768

but when executing

# Test your function

w4_unittest.test_hash_value_of_vector(hash_value_of_vector)

I get the following error:

in hash_value_of_vector(v, planes)

41 for i in range(n_planes):

42 # increment the hash value by 2^i * h_i

—> 43 hash_value += np.power(2,i) * h[:,i]

44

45 ### END CODE HERE ###

IndexError: index 8 is out of bounds for axis 1 with size 8

No clue. It seems that vector is of dim (1,8), though it should be (1,10). Please, any piece of advice will be most welcomed.