Avoid multiple calls to value_of() on the same element
Avoid multiple calls to value_of() on the same element

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