It would probably be better to unconditionally check and then print a useful error than to use one of these debug assertions, which will, if enabled, only propagate the error, making it harder to find. I guess that's kind of another issue than this PR aims to solve though.


Reply to this email directly or view it on GitHub.