fixed writing assert statement
Merge pull request #144 from mimmi20/fix-assert

fixing assert statement