Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlend committed Oct 14, 2024
1 parent 4ded6cf commit 4783ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kete/rust/vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ impl Vector {
Self::new(rotated.into(), self.frame)
}

/// repr
#[allow(missing_docs)]
pub fn __repr__(&self) -> String {
// 1e-12 AU is about 15cm, this seems like a reasonable printing resolution
let x = (self.raw[0] * 1e12).round() / 1e12 + 0.0;
Expand Down

0 comments on commit 4783ba6

Please sign in to comment.