Skip to content

Commit

Permalink
Merge pull request #1302 from mgeier/doc-norm_squared
Browse files Browse the repository at this point in the history
DOC: Use norm_squared() in its doctest
  • Loading branch information
sebcrozet authored Sep 30, 2023
2 parents f404bcb + 87796ac commit 542f6cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geometry/quaternion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 542f6cf

Please sign in to comment.