From a8308fbb76a11ba7b8c2e44a1aa51df437e471d7 Mon Sep 17 00:00:00 2001 From: Ted Horst Date: Tue, 1 Apr 2014 12:58:13 -0500 Subject: [PATCH] make Cmplx fields public --- src/libnum/complex.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libnum/complex.rs b/src/libnum/complex.rs index 3dcd73568c6..069dd2164f5 100644 --- a/src/libnum/complex.rs +++ b/src/libnum/complex.rs @@ -25,9 +25,9 @@ use std::num::{Zero,One,ToStrRadix}; #[deriving(Eq,Clone)] pub struct Cmplx { /// Real portion of the complex number - re: T, + pub re: T, /// Imaginary portion of the complex number - im: T + pub im: T } pub type Complex32 = Cmplx;