From 4a7c07979f71dbe469d06f4131a76e8e36af0023 Mon Sep 17 00:00:00 2001
From: Stephan Hilb <stephan@ecshi.net>
Date: Mon, 21 Feb 2022 22:27:15 +0100
Subject: [PATCH] fix norm_gradient signature

---
 src/mesh.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesh.jl b/src/mesh.jl
index bd3eb64..fc82db5 100644
--- a/src/mesh.jl
+++ b/src/mesh.jl
@@ -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
-- 
GitLab