Skip to content

Commit a8308fb

Browse files
committed
make Cmplx fields public
1 parent b8ef9fd commit a8308fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libnum/complex.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ use std::num::{Zero,One,ToStrRadix};
2525
#[deriving(Eq,Clone)]
2626
pub struct Cmplx<T> {
2727
/// Real portion of the complex number
28-
re: T,
28+
pub re: T,
2929
/// Imaginary portion of the complex number
30-
im: T
30+
pub im: T
3131
}
3232

3333
pub type Complex32 = Cmplx<f32>;

0 commit comments

Comments
 (0)