| 40 | } |
| 41 | |
| 42 | void apply_implicit_color_diff(std::vector<color_df_t> &colors, double sim) { |
| 43 | const color_t implicit_df = sim_to_color_diff(sim); |
| 44 | for (auto &it : colors) { |
| 45 | if (!has_color_diff(it.df)) |
| 46 | it.df = implicit_df; |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | std::vector<color_df_t> prepared_color_dfs(const std::vector<color_df_t> &colors, double sim) { |
| 51 | std::vector<color_df_t> prepared = colors; |
no test coverage detected