Fixed test when running on OpenCL without support for double.