change for autorange opt
Merge pull request #103 from wwqgtxx/patch-10

change for autorange opt