diff --git a/src/HdrCreation/weights.cpp b/src/HdrCreation/weights.cpp index c0565915..8390ee47 100644 --- a/src/HdrCreation/weights.cpp +++ b/src/HdrCreation/weights.cpp @@ -21,7 +21,7 @@ WeightFunctionType WeightFunction::fromString(const std::string &type) { Dict; static Dict v = map_list_of("triangular", WEIGHT_TRIANGULAR)( "gaussian", WEIGHT_GAUSSIAN)("plateau", WEIGHT_PLATEAU)( - "flat", WEIGHT_FLAT)("linear", WEIGHT_LINEAR); + "flat", WEIGHT_FLAT); Dict::const_iterator it = v.find(type); if (it != v.end()) {