[release,bugfix] Prevent index out of bounds in parametertreetest.
by testing whether we work on a end iterator. In this case the distance function will fail. Found that out by gcc's stdlib with debugging turned on.
Please register or sign in to comment