Function.__call__(Point) does not work

Issue #68 resolved
Jan Blechta created an issue
u = Function(V)
p = Point()
u(p)

raises TypeError: expected scalar arguments for the coordinates. Problem is in site-packages/dolfin/functions/function.py:575 where numpy.fromiter(x, 'd') is applied to generator x = (x[0][i] for i in xrange(dim)) defined on line 569. I suggest fix by changing to say x = [x[0][i] for i in range(dim)] or whatever else is efficient.