From 35aa783b2cbb39728fa0134d057968d12a7c0585 Mon Sep 17 00:00:00 2001 From: Jiaqi Zhang Date: Tue, 20 Sep 2022 03:35:47 +0000 Subject: [PATCH] address comments --- source/grid/manifold.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/grid/manifold.cc b/source/grid/manifold.cc index 5a36d71341..a4b08a1ca0 100644 --- a/source/grid/manifold.cc +++ b/source/grid/manifold.cc @@ -222,11 +222,11 @@ Manifold<3, 3>::normal_vector(const Triangulation<3, 3>::face_iterator &face, t2 = get_tangent_vector(p, vertices[second_index]); normal = cross_product_3d(t1, t2); - // if normal is zero, try some other combination of veritices + // if normal is zero, try some other combination of vertices if (normal.norm_square() < 1e4 * std::numeric_limits::epsilon() * t1.norm_square() * t2.norm_square()) { - // See if we have tested already all vertices + // See if we have tested all vertices already auto first_false = std::find(tested_vertices.begin(), tested_vertices.end(), false); if (first_false == tested_vertices.end()) -- 2.39.5