Put back returning Unit model instead of null from QR for compatibility with old code
parent
3def2db1a4
commit
4718acdabc
|
@ -131,7 +131,7 @@ SharedDiagonal Gaussian::QR(Matrix& Ab) const {
|
||||||
// TODO: necessary to isolate last column?
|
// TODO: necessary to isolate last column?
|
||||||
// householder(Ab, maxRank);
|
// householder(Ab, maxRank);
|
||||||
|
|
||||||
return SharedDiagonal();
|
return Unit::Create(maxRank);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Gaussian::WhitenSystem(vector<Matrix>& A, Vector& b) const {
|
void Gaussian::WhitenSystem(vector<Matrix>& A, Vector& b) const {
|
||||||
|
|
Loading…
Reference in New Issue