ctn-archive / nengo_spinnaker_2014

SpiNNaker backend for Nengo -- now obsolete. See instead https://github.com/project-rig/nengo_spinnaker
MIT License
0 stars 1 forks source link

Fix for multidimensional eval_points in decoder caching. #74

Closed mundya closed 10 years ago

mundya commented 10 years ago

Attempted to hash Numpy array.

Now we turn the eval_points into a tuple if they're not None. When we compare eval_points to see if they're already known we first check that both sets of eval_points aren't None, followed by returning the tuple to an array and checking as before.