A clearer assert
Merge pull request #1012 from ussuri/better-assert

A clearer assert