Remove an assert
This commit is contained in:
parent
150a738b39
commit
4722c01c55
1 changed files with 0 additions and 3 deletions
|
@ -69,9 +69,6 @@ std::vector<color_t> recolor_range_impl(const color_range& new_range, const Cont
|
|||
std::min<uint32_t>(255u, old_ratio * mid_c.g + (1 - old_ratio) * max_c.g),
|
||||
std::min<uint32_t>(255u, old_ratio * mid_c.b + (1 - old_ratio) * max_c.b)
|
||||
);
|
||||
} else {
|
||||
// Should never get here. Would imply old_avg > reference_avg = 255
|
||||
assert(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue