refactor: remove the coercion from ZeroAtInftyContinuousMapClass (#46494) Part of #31365
ZeroAtInftyContinuousMapClass