use sizeof double to allocate means

No match.