mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 01:59:38 +08:00
Fix typo in the doc: s/Succeeded/Success
This commit is contained in:
parent
e8aa1f00c5
commit
f23dd7c6f1
@ -291,12 +291,12 @@ VectorXd b, x;
|
||||
// solve Ax = b
|
||||
SolverClassName<SparseMatrix<double> > solver;
|
||||
solver.compute(A);
|
||||
if(solver.info()!=Succeeded) {
|
||||
if(solver.info()!=Success) {
|
||||
// decomposition failed
|
||||
return;
|
||||
}
|
||||
x = solver.solve(b);
|
||||
if(solver.info()!=Succeeded) {
|
||||
if(solver.info()!=Success) {
|
||||
// solving failed
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user