Merge pull request #1302 from mgeier/doc-norm_squared
DOC: Use norm_squared() in its doctest
This commit is contained in:
commit
542f6cf437
|
@ -271,7 +271,7 @@ where
|
|||
/// ```
|
||||
/// # use nalgebra::Quaternion;
|
||||
/// let q = Quaternion::new(1.0, 2.0, 3.0, 4.0);
|
||||
/// assert_eq!(q.magnitude_squared(), 30.0);
|
||||
/// assert_eq!(q.norm_squared(), 30.0);
|
||||
/// ```
|
||||
#[inline]
|
||||
#[must_use]
|
||||
|
|
Loading…
Reference in New Issue