Small fix, no need for I since b is int
Merge pull request #12 from amacias/gen_func

Small fix, no need for I since b is int