Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
xerus
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
35
Issues
35
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xerus
xerus
Commits
1eb54d75
Commit
1eb54d75
authored
Apr 09, 2019
by
Philipp Trunschke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation cleanup
parent
081fbe26
Pipeline
#1228
passed with stages
in 17 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/xerus/blasLapackWrapper.cpp
src/xerus/blasLapackWrapper.cpp
+11
-11
No files found.
src/xerus/blasLapackWrapper.cpp
View file @
1eb54d75
...
...
@@ -644,10 +644,10 @@ namespace xerus {
lapackAnswer
=
LAPACKE_dpotrf2
(
LAPACK_ROW_MAJOR
,
'U'
,
// Upper triangle of A is read
static_cast
<
int
>
(
_n
),
// dimensions of A
tmpA
.
get
(),
// input: A, output: cholesky factorisation
static_cast
<
int
>
(
_n
)
// LDA
'U'
,
// Upper triangle of A is read
static_cast
<
int
>
(
_n
),
// dimensions of A
tmpA
.
get
(),
// input: A, output: cholesky factorisation
static_cast
<
int
>
(
_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
<
int
>
(
_n
),
// dimensions of A
static_cast
<
int
>
(
_nrhs
),
// number of rhs
tmpA
.
get
(),
// input: cholesky decomp
static_cast
<
int
>
(
_n
),
// lda
_x
,
// input: rhs b, output: solution x
static_cast
<
int
>
(
_nrhs
)
// ldb
'U'
,
// upper triangle of cholesky decomp is stored in tmpA
static_cast
<
int
>
(
_n
),
// dimensions of A
static_cast
<
int
>
(
_nrhs
),
// number of rhs
tmpA
.
get
(),
// input: cholesky decomp
static_cast
<
int
>
(
_n
),
// lda
_x
,
// input: rhs b, output: solution x
static_cast
<
int
>
(
_nrhs
)
// ldb
);
CHECK
(
lapackAnswer
==
0
,
error
,
"Unable to solve Ax = b (cholesky solver). Lapacke says: "
<<
lapackAnswer
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment