We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad171af commit 7051631Copy full SHA for 7051631
src/eigh.rs
@@ -63,6 +63,13 @@ where
63
type EigVal = Array1<A::Real>;
64
65
fn eigh_inplace(&mut self, uplo: UPLO) -> Result<(Self::EigVal, &mut Self)> {
66
+ dbg!(&self);
67
+ let layout = self.square_layout()?;
68
+ // XXX Force layout to be Fortran (see #146)
69
+ match layout {
70
+ MatrixLayout::C(_) => self.swap_axes(0, 1),
71
+ MatrixLayout::F(_) => {}
72
+ }
73
let s = unsafe { A::eigh(true, self.square_layout()?, uplo, self.as_allocated_mut()?)? };
74
Ok((ArrayBase::from_vec(s), self))
75
}
0 commit comments