Skip to content

Commit a5fe336

Browse files
committed
Add missing imports in doctest
1 parent 2fc3d26 commit a5fe336

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/numeric/impl_float_maths.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ where
180180
/// # Example
181181
/// ```
182182
/// use ndarray::*;
183+
/// use num_complex::Complex;
183184
///
184185
/// let arr = array![1.0, -1.0, 0.0];
185186
/// let complex = arr.to_complex_re();
@@ -202,6 +203,7 @@ where
202203
/// # Example
203204
/// ```
204205
/// use ndarray::*;
206+
/// use num_complex::Complex;
205207
///
206208
/// let arr = array![1.0, -1.0, 0.0];
207209
/// let complex = arr.to_complex_re();

0 commit comments

Comments
 (0)