From 518aeca7d89c9ec03c10b7fced5adf74742505ca Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Sun, 7 Sep 2014 00:34:13 +0200 Subject: [PATCH] Fixed MixedParameters.cpp to remove c++11 functionality Signed-off-by: Ian Bell --- src/Backends/Helmholtz/MixtureParameters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backends/Helmholtz/MixtureParameters.cpp b/src/Backends/Helmholtz/MixtureParameters.cpp index 799d05d1..33f31ae6 100644 --- a/src/Backends/Helmholtz/MixtureParameters.cpp +++ b/src/Backends/Helmholtz/MixtureParameters.cpp @@ -101,7 +101,7 @@ std::string get_reducing_function_name(std::string CAS1, std::string CAS2) std::sort(CAS.begin(), CAS.end()); if (mixturebinarypairlibrary.binary_pair_map.find(CAS) != mixturebinarypairlibrary.binary_pair_map.end()){ - return mixturebinarypairlibrary.binary_pair_map.at(CAS)[0].get_string("function"); + return mixturebinarypairlibrary.binary_pair_map[CAS][0].get_string("function"); } else{ throw ValueError(format("Could not match the binary pair [%s,%s] - for now this is an error.",CAS1.c_str(), CAS2.c_str()));