seed is a number not a function

Fixes error when a seed of type `number` is passed.
I suppose this is the intended functionality.