let an empty num-gen generate an empyt iterator without error