FIX: issue #626 (Compiler error on routine)
Merge pull request #629 from qtxie/issue626

FIX: issue #626 (Compiler error on routine)