cherry-pick: fix call to `searchsorted` this requires float
cast_volume: fix call to searchsorted
this requires float
See merge request !407 (merged)
(cherry picked from commit fe3681f3)
8c838176 cast_volume: fix call to searchsorted
this requires float