fix documentation about requirement for min and max value

The assert has been fixed in an earlier commit.