From 81d43197204d428d8e263d364fa3f2c16220dfd6 Mon Sep 17 00:00:00 2001
From: Alexandru Fikl <fikl2@illinois.edu>
Date: Mon, 18 May 2020 02:17:58 +0200
Subject: [PATCH] Apply suggestion to meshmode/mesh/__init__.py

---
 meshmode/mesh/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meshmode/mesh/__init__.py b/meshmode/mesh/__init__.py
index d0f6df3b..a1009564 100644
--- a/meshmode/mesh/__init__.py
+++ b/meshmode/mesh/__init__.py
@@ -1390,7 +1390,7 @@ def is_affine_simplex_group(group, abs_tol=None):
             continue
         mats.append(vinv.dot(diff[n[0]].dot(diff[n[1]])))
 
-    # check if any element has a non-affine parametrization
+    # check just the first element for a non-affine local-to-global mapping
     ddx_coeffs = np.einsum("aij,bj->abi", mats, group.nodes[:, 0, :])
     norm_inf = np.max(np.abs(ddx_coeffs))
     if norm_inf > abs_tol:
-- 
GitLab