fix: added check on iterator end position (#5129)
* Added check on iterator end position
* Always use assert without conditional check
* Addressing code review comments
* style: pre-commit fixes
* Remove assert and throw
* Changed style slightly
---------
Co-authored-by:
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
ce08e370
Please register or sign in to comment