Commit a7bc2afe authored by Gregor Olenik's avatar Gregor Olenik
Browse files

fix type of tmp_col_idxs and tmp_row_idxs

parent ec0319f5
......@@ -230,8 +230,8 @@ public:
void sort_GKOMatrix() const
{
std::vector<scalar> tmp_values(nElems());
std::vector<scalar> tmp_col_idxs(nElems());
std::vector<scalar> tmp_row_idxs(nElems());
std::vector<label> tmp_col_idxs(nElems());
std::vector<label> tmp_row_idxs(nElems());
for (label i = 0; i < nElems(); i++) tmp_values[i] = values_[i];
for (label i = 0; i < nElems(); i++) tmp_col_idxs[i] = col_idxs_[i];
......@@ -323,8 +323,8 @@ public:
}
if (get_export())
export_system(fieldName(), gko::lend(gkomatrix), gko::lend(x),
gko::lend(b));
export_system(fieldName(), gko::lend(gkomatrix), gko::lend(x),
gko::lend(b));
solverPerf.initialResidual() = compute_residual(
......
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