Skip to content

Commit

Permalink
Reverted linear weighting function, as this is not required any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
bash0 committed Apr 12, 2021
1 parent e858547 commit acdd286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HdrCreation/weights.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit acdd286

Please sign in to comment.