Minor, fix double-promotion warnings (#1221)

4 files changed