Skip to content

Conversation

@peddie
Copy link
Contributor

@peddie peddie commented May 31, 2022

Previously we assumed that every solve would be full-rank, which could
lead to invalid / undefined values being used as part of a linear
solve with the R factor of a QR decomposition. This commit

  • switches to the Eigen-recommended way of extracting a valid R
    factor from a QR decomposition

  • adds assertions checking that the sparse GP problem was full-rank

  • adds an assertion that an R factor is of appropriate rank when
    using it to compute covariances

Previously we assumed that every solve would be full-rank, which could
lead to invalid / undefined values being used as part of a linear
solve with the `R` factor of a QR decomposition.  This commit

 - switches to the Eigen-recommended way of extracting a valid `R`
   factor from a QR decomposition

 - adds assertions checking that the sparse GP problem was full-rank

 - adds an assertion that an `R` factor is of appropriate rank when
   using it to compute covariances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant