Merge pull request #41 from alexbool/update-nalgebra-0.21

bump nalgebra
This commit is contained in:
Dimitri Sabadie 2020-04-09 22:15:50 +02:00 committed by GitHub
commit aea9011296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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::{