Commit 0280227f authored by Baptiste Esteban's avatar Baptiste Esteban
Browse files

Add missing 0-faces filling

parent f74653cd
Pipeline #28905 passed with stages
in 15 minutes and 29 seconds
...@@ -66,6 +66,17 @@ namespace mln::morpho ...@@ -66,6 +66,17 @@ namespace mln::morpho
} }
} }
} }
mln_foreach(auto p, res.domain())
{
if (p[0] % 2 == 1 && p[1] % 2 == 1)
{
for (auto q : c4(p))
{
if (res.domain().has(q) && res(p) < res(q))
res(p) = res(q);
}
}
}
return res; return res;
} }
......
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