From d86989454d20a8b7f9f957c9cde03ea145f0f6c9 Mon Sep 17 00:00:00 2001 From: mckay Date: Sat, 3 May 2025 20:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dpatch=20min=20max=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- brep2sdf/networks/patch_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brep2sdf/networks/patch_graph.py b/brep2sdf/networks/patch_graph.py index 5518389..249d586 100644 --- a/brep2sdf/networks/patch_graph.py +++ b/brep2sdf/networks/patch_graph.py @@ -100,7 +100,7 @@ class PatchGraph(nn.Module): if num_faces == 1: # 这里设置凸边是因为 后续会补一个 f2 = inf, h = min(f1, f2) # 因为 f2 = inf, 所以 h = f1 - return 1 # 只有一个面 + return 0 # 只有一个面 if num_faces > 2: #logger.warning("get_operator 输入数量为{} > 2,将只取前两个面片进行处理".format(num_faces)) node_faces = node_faces[:2]