Skip to content

Fixed projection function on ggd array#85

Merged
anchal-physics merged 1 commit intomasterfrom
projection_bug_fix
Jun 2, 2025
Merged

Fixed projection function on ggd array#85
anchal-physics merged 1 commit intomasterfrom
projection_bug_fix

Conversation

@anchal-physics
Copy link
Copy Markdown
Collaborator

project_prop_on_subset! function has been changed so that it does not restrict the input type anymore. The input type restriction was causing too much overhead in compilation (potentially a julia issue) but we aren't wining anything right now by fixing the type.

The overhead comes when during compile time the script does not know the type of the input. This was happening in the second method which takes a string path from the ggd array to the property. Since this string path can be anything, the compiler goes into endless computation in pre-compile step and gets stuck without giving any warning or errors. I suspect another overflow issue similar to JuliaLang/julia#58129 fixed in JuliaLang/julia#58159 .

project_prop_on_subset! function  has been changed so that it does not
restrict the input type anymore. The input type restriction was causing
too much overhead in compilation (potentially a julia issue) but we aren't
wining anything right now by fixing the type.

The overhead comes when during compile time the script does not know the
type of the input. This was happening in the second method which takes
a string path from the ggd array to the property. Since this string path
can be anything, the compiler goes into endless computation in pre-compile
step and gets stuck without giving any warning or errors. I suspect another
overflow issue similar to JuliaLang/julia#58129
fixed in JuliaLang/julia#58159 .
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 2, 2025

Codecov Report

Attention: Patch coverage is 55.55556% with 4 lines in your changes missing coverage. Please review.

Project coverage is 41.70%. Comparing base (6de3c81) to head (12f65fd).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
src/subset_tools.jl 55.55% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #85      +/-   ##
==========================================
+ Coverage   41.61%   41.70%   +0.09%     
==========================================
  Files           4        4              
  Lines         632      633       +1     
==========================================
+ Hits          263      264       +1     
  Misses        369      369              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@anchal-physics anchal-physics merged commit 4731c8b into master Jun 2, 2025
6 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.

1 participant