fix compilation with clang (stricter than gcc)

double type does not have a modifier