fixes a non-compileable assertion to the extent that it compiles
Merge pull request #83 from vossad01/master

Fixes a non-compileable assertion to the extent that it compiles