Correct variable typo in auto.cpp
Merge pull request #168 from ajnelson/fix_variable_typo

Correct variable typo in auto.cpp