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

Fix int to unsingned long conversion

parent b0ddb02f
......@@ -80,7 +80,8 @@ protected:
auto vec_abs = gko::clone(dense_r);
const label cells = dense_r->get_size()[0];
vec_abs->compute_absolute_inplace();
auto unit = vec::create(dense_r->get_executor(), gko::dim<2>{cells, 1});
auto unit = vec::create(dense_r->get_executor(),
gko::dim<2>{(unsigned long)cells, 1});
unit->fill(1.0);
const auto unit_t = unit->transpose();
......
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