bump nalgebra

This commit is contained in:
Alexander Bulaev 2020-04-06 13:04:08 +03:00
parent 0fcdbacaf3
commit 04247d8706
2 changed files with 4 additions and 4 deletions

View File

@ -22,17 +22,17 @@ maintenance = { status = "actively-developed" }
[features] [features]
default = ["std"] default = ["std"]
impl-cgmath = ["cgmath"] impl-cgmath = ["cgmath"]
impl-nalgebra = ["alga", "nalgebra", "num-traits"] impl-nalgebra = ["nalgebra", "num-traits", "simba"]
serialization = ["serde", "serde_derive"] serialization = ["serde", "serde_derive"]
std = [] std = []
[dependencies] [dependencies]
alga = { version = "0.9", optional = true }
cgmath = { version = "0.17", 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 } num-traits = { version = "0.2", optional = true }
serde = { version = "1", optional = true } serde = { version = "1", optional = true }
serde_derive = { version = "1", optional = true } serde_derive = { version = "1", optional = true }
simba = { version = "0.1.2", optional = true }
[dev-dependencies] [dev-dependencies]
float-cmp = "0.6" float-cmp = "0.6"

View File

@ -1,6 +1,6 @@
use alga::general::{ClosedAdd, ClosedDiv, ClosedMul, ClosedSub};
use nalgebra::{Scalar, Vector, Vector1, Vector2, Vector3, Vector4, Vector5, Vector6}; use nalgebra::{Scalar, Vector, Vector1, Vector2, Vector3, Vector4, Vector5, Vector6};
use num_traits as nt; use num_traits as nt;
use simba::scalar::{ClosedAdd, ClosedDiv, ClosedMul, ClosedSub};
use std::ops::Mul; use std::ops::Mul;
use crate::interpolate::{ use crate::interpolate::{