Revert "fixed copy-paste error in check_bounded"
Revert "fixed copy-paste error in check_bounded"

This reverts commit dff0c884efe5677ad7718fb32bcc48627edcf6ee.

stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math