fix error with numeric inputs
Merge pull request #65 from adametrnal/master

fix error with numeric inputs