Maybe, "Ramp values will most likely be float, cast them to the same type as arr"