Remove an assert

This commit is contained in:
Charles Dang 2024-08-19 13:06:52 -04:00
parent 150a738b39
commit 4722c01c55

View file

@ -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);
}
}