Bad units specification [dB] #312

Added a conversion of [dB] to [1] for use in udunits.
This commit is contained in:
Alex Lin 2016-09-15 15:24:19 -05:00
parent b2432fd269
commit b88ff45f94

View File

@ -26,6 +26,7 @@ static std::map< std::string, std::string> init_map_old_to_ud() {
init_map["Wh"] = "(W*h)" ;
init_map["kWh"] = "(kW*h)" ;
init_map["gal"] = "gallon" ;
init_map["dB"] = "1" ;
init_map["one"] = "1" ;
init_map["cnt"] = "count" ;
init_map["--"] = "1" ;