Skip to content

Commit ee29d96

Browse files
committed
Last documentation fix
1 parent a5fe336 commit ee29d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/numeric/impl_float_maths.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ where
206206
/// use num_complex::Complex;
207207
///
208208
/// let arr = array![1.0, -1.0, 0.0];
209-
/// let complex = arr.to_complex_re();
209+
/// let complex = arr.to_complex_im();
210210
///
211211
/// assert_eq!(complex[0], Complex::new(0.0, 1.0));
212212
/// assert_eq!(complex[1], Complex::new(0.0, -1.0));

0 commit comments

Comments
 (0)