ctn-waterloo/nengo — pull request #199 by studywolf (2013-11-11 17:08:49+00:00)
Title: Use eval_points in function if given

- when finding dimensions check for eval_points,
use eval_points[0] if it exists, otherwise
go on and use an array of ones.

I ran into the case where I had a function that was just a
lookup table that didn't specify a value for 1, and then when
the builder was trying to figure out the dimensions of the
connection it passed in an array of 1, throwing an error.

This just changes to check to see if any eval_points
have been specified to use, and use
those first, and use the array of 1s otherwise.