Replaced f_ with g_ in polytools/reduced and solves issue #7696
Merge pull request #7697 from sarwarc/issue7696

Replaced f_ with g_ in polytools/reduced and solves issue #7696