forked from M-Labs/nalgebra
parent
2595db1607
commit
aac29b70ea
@ -275,6 +275,9 @@ pub fn min<T: Ord>(a: T, b: T) -> T {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// The absolute value of `a`.
|
/// The absolute value of `a`.
|
||||||
|
///
|
||||||
|
/// Deprecated: Use [Matrix::abs] or [Real::abs] instead.
|
||||||
|
#[deprecated(note = "use `Matrix::abs` or `Real::abs` instead")]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn abs<T: Signed>(a: &T) -> T {
|
pub fn abs<T: Signed>(a: &T) -> T {
|
||||||
a.abs()
|
a.abs()
|
||||||
|
Loading…
Reference in New Issue
Block a user