dmke/thesis-template — pull request #5 by s3vv4 (2014-05-13 12:40:39+00:00)
Title: Algorithm example

These options make the error pretty obvious, the linenumbers are supposed to be inside the box.
If you remove parskip package from thesis.cls the alignment seems to be correct.