Commit 8b4f7c91 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

import mtl::size for size of std::vector

parent 95a126a5
...@@ -130,6 +130,7 @@ namespace AMDiS ...@@ -130,6 +130,7 @@ namespace AMDiS
ins[t.row][t.col] += t.value; ins[t.row][t.col] += t.value;
if (setDiagonal) { if (setDiagonal) {
using mtl::size;
for (std::size_t i = 0; i < size(left); ++i) { for (std::size_t i = 0; i < size(left); ++i) {
if (left[i]) { if (left[i]) {
ins[i][i] = T(1); ins[i][i] = T(1);
......
Supports Markdown
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