Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sauvage
CGoGN
Commits
58dde55b
Commit
58dde55b
authored
Feb 06, 2013
by
Pierre Kraemer
Browse files
debug linear solver pointer to variable transition
parent
86e9a825
Changes
1
Hide whitespace changes
Inline
Side-by-side
ThirdParty/include/OpenNL/linear_solver.hpp
View file @
58dde55b
...
...
@@ -189,11 +189,11 @@ void LinearSolver<CoeffType>::solve() {
*
x_
=
direct_solver_
->
solve
(
*
b_
)
;
}
else
{
Eigen
::
ConjugateGradient
<
Eigen
::
SparseMatrix
<
CoeffType
>
>
solver
(
*
A_
)
;
*
x_
=
solver
->
solve
(
*
b_
)
;
*
x_
=
solver
.
solve
(
*
b_
)
;
}
}
else
{
Eigen
::
BiCGSTAB
<
Eigen
::
SparseMatrix
<
CoeffType
>
>
solver
(
*
A_
)
;
*
x_
=
solver
->
solve
(
*
b_
)
;
*
x_
=
solver
.
solve
(
*
b_
)
;
}
vector_to_variables
()
;
transition
(
CONSTRUCTED
,
SOLVED
)
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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