Skip to content

Commit

Permalink
* Suppress a clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
chrivers committed Feb 4, 2025
1 parent e524223 commit 08a8ff2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model/colorspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub struct ColorSpace {
}

impl ColorSpace {
#[allow(clippy::suboptimal_flops)]
#[must_use]
fn mult(d: [f64; 3], m: &[f64; 9]) -> [f64; 3] {
let cx = d[0] * m[0] + d[1] * m[1] + d[2] * m[2];
Expand Down

0 comments on commit 08a8ff2

Please sign in to comment.