From 424abf0b168fe697baab7165fe5db6d33227f7b4 Mon Sep 17 00:00:00 2001 From: Michael Kofler Date: Mon, 18 May 2026 09:59:52 +0200 Subject: [PATCH] fixed getdomainbounds for sdfromlinemesh --- DeepSDFStruct/SDF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeepSDFStruct/SDF.py b/DeepSDFStruct/SDF.py index e9f0becb..00d6d670 100644 --- a/DeepSDFStruct/SDF.py +++ b/DeepSDFStruct/SDF.py @@ -1151,7 +1151,7 @@ def __init__(self, line_mesh: gustaf.Edges, thickness, smoothness=0): self.geometric_dim = line_mesh.vertices.shape[1] def _get_domain_bounds(self): - return self.line_mesh.bounds() + return torch.tensor(self.line_mesh.bounds()) def _set_param(self, parameters): self.t = parameters[0]