conversion to double should not be necessary

Change-Id: I12ad83453b68077fe672576680b0cd5fd9acf49f