Remove useless parenthesis.
This commit is contained in:
parent
f018478117
commit
4c262bb91d
|
@ -99,6 +99,7 @@ Feel free to add your project to this list if you happen to use **nalgebra**!
|
||||||
#[crate_id = "nalgebra#0.1"];
|
#[crate_id = "nalgebra#0.1"];
|
||||||
#[crate_type = "lib"];
|
#[crate_type = "lib"];
|
||||||
#[deny(non_camel_case_types)];
|
#[deny(non_camel_case_types)];
|
||||||
|
#[deny(unnecessary_parens)];
|
||||||
#[deny(non_uppercase_statics)];
|
#[deny(non_uppercase_statics)];
|
||||||
#[deny(unnecessary_qualification)];
|
#[deny(unnecessary_qualification)];
|
||||||
#[warn(missing_doc)];
|
#[warn(missing_doc)];
|
||||||
|
|
|
@ -348,7 +348,7 @@ Inv for DMat<N> {
|
||||||
|
|
||||||
let mut n0 = k; // index of a non-zero entry
|
let mut n0 = k; // index of a non-zero entry
|
||||||
|
|
||||||
while (n0 != dim) {
|
while n0 != dim {
|
||||||
if unsafe { self.at_fast(n0, k) } != _0T {
|
if unsafe { self.at_fast(n0, k) } != _0T {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -364,7 +364,7 @@ macro_rules! inv_impl(
|
||||||
|
|
||||||
let mut n0 = k; // index of a non-zero entry
|
let mut n0 = k; // index of a non-zero entry
|
||||||
|
|
||||||
while (n0 != $dim) {
|
while n0 != $dim {
|
||||||
if self.at((n0, k)) != _0N {
|
if self.at((n0, k)) != _0N {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue