Skip to content

Commit 6766c31

Browse files
committed
Make the fields of LUFactorized private
The correct interpretation of the fields of LUFactorized is very complicated when the input to the factorization was row-major.
1 parent 15b4a51 commit 6766c31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ndarray-linalg/src/solve.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ pub trait Solve<A: Scalar> {
150150
pub struct LUFactorized<S: Data + RawDataClone> {
151151
/// The factors `L` and `U`; the unit diagonal elements of `L` are not
152152
/// stored.
153-
pub a: ArrayBase<S, Ix2>,
153+
a: ArrayBase<S, Ix2>,
154154
/// The pivot indices that define the permutation matrix `P`.
155-
pub ipiv: Pivot,
155+
ipiv: Pivot,
156156
}
157157

158158
impl<A, S> Solve<A> for LUFactorized<S>

0 commit comments

Comments
 (0)