Skip to content

fixed getdomainbounds for sdfromlinemesh#59

Merged
mkofler96 merged 1 commit into
mainfrom
fix-getdbounds-lm
May 18, 2026
Merged

fixed getdomainbounds for sdfromlinemesh#59
mkofler96 merged 1 commit into
mainfrom
fix-getdbounds-lm

Conversation

@mkofler96

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 18, 2026 08:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bug fix to make SDFFromLineMesh._get_domain_bounds() return a torch.Tensor instead of the raw output of gustaf.Edges.bounds(), matching the expected return type used elsewhere in SDF.py (e.g. callers at lines 437, 1460 that .to(device) the result).

Changes:

  • Wrap self.line_mesh.bounds() in torch.tensor(...) in SDFFromLineMesh._get_domain_bounds.

@deepsource-io

deepsource-io Bot commented May 18, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 14e080e...424abf0 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Python May 18, 2026 8:01a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@mkofler96 mkofler96 merged commit 8ed7a91 into main May 18, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants