forked from M-Labs/nalgebra
Fix compilation with no-std.
This commit is contained in:
parent
eddaf669ac
commit
55873cae37
@ -54,7 +54,9 @@ alga = { git = "https://github.com/rustsim/alga", branch = "dev" }
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
rand_xorshift = "0.1"
|
rand_xorshift = "0.1"
|
||||||
criterion = "0.2"
|
# Newer vesrion of criterion make the compilation with no-std fail.
|
||||||
|
# This problem is partly due to https://github.com/rust-lang/cargo/issues/1796
|
||||||
|
criterion = "=0.2.7"
|
||||||
|
|
||||||
[workspace]
|
[workspace]
|
||||||
members = [ "nalgebra-lapack", "nalgebra-glm" ]
|
members = [ "nalgebra-lapack", "nalgebra-glm" ]
|
||||||
|
@ -87,7 +87,6 @@ impl<N: ComplexField, D: Dim, S: Storage<N, D>> Reflection<N, D, S> {
|
|||||||
S2: StorageMut<N, R2, C2>,
|
S2: StorageMut<N, R2, C2>,
|
||||||
S3: StorageMut<N, R2>,
|
S3: StorageMut<N, R2>,
|
||||||
ShapeConstraint: DimEq<C2, D> + AreMultipliable<R2, C2, D, U1>,
|
ShapeConstraint: DimEq<C2, D> + AreMultipliable<R2, C2, D, U1>,
|
||||||
DefaultAllocator: Allocator<N, D>
|
|
||||||
{
|
{
|
||||||
lhs.mul_to(&self.axis, work);
|
lhs.mul_to(&self.axis, work);
|
||||||
|
|
||||||
@ -109,7 +108,6 @@ impl<N: ComplexField, D: Dim, S: Storage<N, D>> Reflection<N, D, S> {
|
|||||||
S2: StorageMut<N, R2, C2>,
|
S2: StorageMut<N, R2, C2>,
|
||||||
S3: StorageMut<N, R2>,
|
S3: StorageMut<N, R2>,
|
||||||
ShapeConstraint: DimEq<C2, D> + AreMultipliable<R2, C2, D, U1>,
|
ShapeConstraint: DimEq<C2, D> + AreMultipliable<R2, C2, D, U1>,
|
||||||
DefaultAllocator: Allocator<N, D>
|
|
||||||
{
|
{
|
||||||
lhs.mul_to(&self.axis, work);
|
lhs.mul_to(&self.axis, work);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user