Repository navigation
Update ray scripts for modern Julia compatibility - #15
Merged
Merged
Conversation
Co-authored-by: lowrank <29496950+lowrank@users.noreply.github.com>
Co-authored-by: lowrank <29496950+lowrank@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix compatibility issues with latest Julia version
Update ray scripts for modern Julia compatibility
Nov 2, 2026
lowrank
requested changes
Nov 2, 2026
lowrank
left a comment
Owner
There was a problem hiding this comment.
add workflow file for the project for checking
There was a problem hiding this comment.
🔵 Needs a closer look
Both distributed demos need end-to-end validation on modern Julia, as no automated tests are present and dependency-backed execution could not be exercised in the review environment.
No open issues 🎉
What changed in this PR
Updates the ray-tracing and reconstruction scripts from Julia 0.6-era APIs toward modern Julia compatibility, addressing issue #14.
Changes:
- Replaces legacy numerical APIs, conditional syntax, and range type signatures.
- Updates distributed loops, worker imports, and remote calls.
- Adds timing helpers and modernizes garbage collection and sparse-matrix calls.
| File | Description |
|---|---|
| Utility.jl | Replaces atan2 with two-argument atan. |
| ObstacleDemo.jl | Updates distributed imports, ranges, index searches, and garbage collection. |
| Obstacle.jl | Modernizes distributed ray tracing, conditionals, ranges, and identity matrices. |
| NonObstacleDemo.jl | Imports Distributed before starting workers. |
| NonObstacle.jl | Updates reconstruction APIs, worker execution, range signatures, and timing helpers. |
Review effort: Balanced
Co-authored-by: lowrank <29496950+lowrank@users.noreply.github.com>
lowrank
approved these changes
Nov 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The scripts relied on Julia 0.6 APIs and syntax that broke with Julia 0.7 and later.
linspace,find,eye,indmin, and removed timing and garbage-collection calls; update conditional syntax and range type signatures.@distributed, load required standard libraries on workers, and adapt remote calls.