diff --git a/fj-math/src/vector.rs b/fj-math/src/vector.rs index 557ec8ef9..35e3e2740 100644 --- a/fj-math/src/vector.rs +++ b/fj-math/src/vector.rs @@ -16,9 +16,9 @@ pub struct Vector { impl Vector { /// Construct a `Vector` from an array - pub fn from_components_f64(array: [f64; D]) -> Self { + pub fn from_components_f64(components: [f64; D]) -> Self { Self { - components: array.map(Scalar::from_f64), + components: components.map(Scalar::from_f64), } }