Fix missing type promotion accidentally removed by #2512. (#2575)
Fix missing type promotion accidentally removed by #2512. (#2575)

This is in fact covered by the existing tests, but we were unlucky and didn't hit them in the set of generated tests we selected.
tensorflow/probability,google/jax,google/jax,google/jax,tensorflow/probability,google/jax