Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement compute_distance for Angle.
When computing the distance between two filter functions, e.g. HueRotate(0deg) and HueRotate(-360deg), we got an Err(()) and unwrap it immediately in compute_filter_square_distance(), which causes a crash. The root-cause is that we don't implement computed_distance of Angle, and we assume we always get a valid result from compute_squared_distance() for each filter function.
- Loading branch information