aboutsummaryrefslogtreecommitdiff
path: root/framework/instruments/Instruments.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'framework/instruments/Instruments.cpp')
-rw-r--r--framework/instruments/Instruments.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/instruments/Instruments.cpp b/framework/instruments/Instruments.cpp
index 7a26944d26..12ad86c70a 100644
--- a/framework/instruments/Instruments.cpp
+++ b/framework/instruments/Instruments.cpp
@@ -23,6 +23,8 @@
*/
#include "Instruments.h"
+#include "framework/Utils.h"
+
#include <map>
#include <stdexcept>
@@ -45,7 +47,7 @@ InstrumentType instrument_type_from_name(const std::string &name)
try
{
- return types.at(name);
+ return types.at(tolower(name));
}
catch(const std::out_of_range &)
{