Skip to content
Snippets Groups Projects
Commit 4a7c0797 authored by Stephan Hilb's avatar Stephan Hilb
Browse files

fix norm_gradient signature

parent 6090a3fd
Branches
Tags
No related merge requests found
......@@ -412,7 +412,7 @@ function inradius(mesh, cell)
return sqrt((s - a) * (s - b) * (s - c) / s)
end
function norm_gradient(mesh, cell)
function norm_gradient(mesh)
min_inradius = mapreduce(cell -> inradius(mesh, cell), min, cells(mesh))
return 2 * sqrt(6) / (2 * min_inradius)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment