From 04247d870664d08b8f2b4eafb26d9ae80df341c9 Mon Sep 17 00:00:00 2001 From: Alexander Bulaev Date: Mon, 6 Apr 2020 13:04:08 +0300 Subject: [PATCH] bump nalgebra --- Cargo.toml | 6 +++--- src/nalgebra.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 05add41..074de71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,17 +22,17 @@ maintenance = { status = "actively-developed" } [features] default = ["std"] impl-cgmath = ["cgmath"] -impl-nalgebra = ["alga", "nalgebra", "num-traits"] +impl-nalgebra = ["nalgebra", "num-traits", "simba"] serialization = ["serde", "serde_derive"] std = [] [dependencies] -alga = { version = "0.9", optional = true } cgmath = { version = "0.17", optional = true } -nalgebra = { version = "0.20", optional = true } +nalgebra = { version = "0.21", optional = true } num-traits = { version = "0.2", optional = true } serde = { version = "1", optional = true } serde_derive = { version = "1", optional = true } +simba = { version = "0.1.2", optional = true } [dev-dependencies] float-cmp = "0.6" diff --git a/src/nalgebra.rs b/src/nalgebra.rs index c90f195..feb5f13 100644 --- a/src/nalgebra.rs +++ b/src/nalgebra.rs @@ -1,6 +1,6 @@ -use alga::general::{ClosedAdd, ClosedDiv, ClosedMul, ClosedSub}; use nalgebra::{Scalar, Vector, Vector1, Vector2, Vector3, Vector4, Vector5, Vector6}; use num_traits as nt; +use simba::scalar::{ClosedAdd, ClosedDiv, ClosedMul, ClosedSub}; use std::ops::Mul; use crate::interpolate::{