Commit 1eb54d75 by Philipp Trunschke

indentation cleanup

parent 081fbe26
Pipeline #1228 passed with stages
in 17 minutes and 50 seconds
 ... ... @@ -644,10 +644,10 @@ namespace xerus { lapackAnswer = LAPACKE_dpotrf2( LAPACK_ROW_MAJOR, 'U', // Upper triangle of A is read static_cast(_n), // dimensions of A tmpA.get(), // input: A, output: cholesky factorisation static_cast(_n) // LDA 'U', // Upper triangle of A is read static_cast(_n), // dimensions of A tmpA.get(), // input: A, output: cholesky factorisation static_cast(_n) // LDA ); XERUS_PA_END("Dense LAPACK", "Cholesky decomposition", misc::to_string(_n)+"x"+misc::to_string(_n)); ... ... @@ -661,13 +661,13 @@ namespace xerus { lapackAnswer = LAPACKE_dpotrs( LAPACK_ROW_MAJOR, 'U', // upper triangle of cholesky decomp is stored in tmpA static_cast(_n), // dimensions of A static_cast(_nrhs),// number of rhs tmpA.get(), // input: cholesky decomp static_cast(_n), // lda _x, // input: rhs b, output: solution x static_cast(_nrhs) // ldb 'U', // upper triangle of cholesky decomp is stored in tmpA static_cast(_n), // dimensions of A static_cast(_nrhs), // number of rhs tmpA.get(), // input: cholesky decomp static_cast(_n), // lda _x, // input: rhs b, output: solution x static_cast(_nrhs) // ldb ); CHECK(lapackAnswer == 0, error, "Unable to solve Ax = b (cholesky solver). Lapacke says: " << lapackAnswer); ... ...
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment