Commit 2944c81
committed
Change
The LAPACK factorization routine only uses the upper left square of a
rectangular matrix anyway, so allowing a rectangular input is somewhat
confusing. If someone really wants to call `factorizeh*` on a
rectangular matrix, they can take a square slice of portion of the
rectangular matrix they want to use.
This change is necessary for `BKFactorized::det()` to be able to
return `A::Real` instead of having to check that the matrix is square
and return `Result<A::Real>`.factorizeh* to require square input1 parent a30d24f commit 2944c81
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments