Commit d887be83 authored by Dmitry Bagaev's avatar Dmitry Bagaev Committed by GitHub

Merge pull request #28 from bvdmitri/fixfc2

Small fix for previous merge 
parents 10142457 243195a8
...@@ -122,6 +122,7 @@ namespace INMOST { ...@@ -122,6 +122,7 @@ namespace INMOST {
} }
MatrixFinalizeFcbiilu2(matrix_data); MatrixFinalizeFcbiilu2(matrix_data);
SolverSetMatrixFcbiilu2(solver_data, matrix_data, modified_pattern, OldPreconditioner); SolverSetMatrixFcbiilu2(solver_data, matrix_data, modified_pattern, OldPreconditioner);
time_prec = solver_data->dstat[7];
} }
bool SolverFCBIILU2::Solve(INMOST::Sparse::Vector &RHS, INMOST::Sparse::Vector &SOL) { bool SolverFCBIILU2::Solve(INMOST::Sparse::Vector &RHS, INMOST::Sparse::Vector &SOL) {
...@@ -143,7 +144,6 @@ namespace INMOST { ...@@ -143,7 +144,6 @@ namespace INMOST {
bool result = SolverSolveFcbiilu2(solver_data, rhs_data, solution_data); bool result = SolverSolveFcbiilu2(solver_data, rhs_data, solution_data);
if (result) VectorLoadFcbiilu2(solution_data, &SOL[vbeg]); if (result) VectorLoadFcbiilu2(solution_data, &SOL[vbeg]);
iter_time = solver_data->dstat[9]; iter_time = solver_data->dstat[9];
time_prec = solver_data->dstat[7];
return result; return result;
} }
......
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