From 2e1deab3edc90c62bb23a9478f153942df9615cc Mon Sep 17 00:00:00 2001 From: Christopher Rabotin Date: Tue, 6 Aug 2024 21:47:31 -0600 Subject: [PATCH] Update nalgebra --- Cargo.toml | 2 +- anise/src/math/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 32a2ab84..bf956d04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ log = "0.4" pretty_env_logger = "0.5" tabled = "=0.16" const_format = "0.2" -nalgebra = { version = "0.32", default-features = true, features = [ +nalgebra = { version = "0.33", default-features = true, features = [ "serde-serialize", ] } approx = "0.5.1" diff --git a/anise/src/math/mod.rs b/anise/src/math/mod.rs index 52886d4b..9a86e2cb 100644 --- a/anise/src/math/mod.rs +++ b/anise/src/math/mod.rs @@ -29,7 +29,7 @@ use nalgebra::{DefaultAllocator, DimName, OVector}; /// Returns the root mean squared (RSS) between two vectors of any dimension N. pub fn root_mean_squared(vec_a: &OVector, vec_b: &OVector) -> f64 where - DefaultAllocator: Allocator, + DefaultAllocator: Allocator, { vec_a .iter()