try map< float, vector<double>> You are passing a pair of KEY=float , VALUE= a vector of doubles
map< float, vector<double>>