Fix typo

an array -> a function
Merge pull request #48 from dlom/master

Fix typo