Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for check_model on Julia <1.9 #631

Merged
merged 3 commits into from
Jul 15, 2024
Merged

Fix for check_model on Julia <1.9 #631

merged 3 commits into from
Jul 15, 2024

Conversation

torfjelde
Copy link
Member

isassigned(::AbstractArray, ::CartesianIndex) is not supported on Julia <1.9, even though it can be returned by eachindex.

Ref: TuringLang/Turing.jl#2231 whose CI is currently failiing because of this (https://github.com/TuringLang/Turing.jl/actions/runs/9879092184/job/27284539618?pr=2231)

@torfjelde
Copy link
Member Author

A bit confused as to why this isn't also failiing on Julia 1.6 though 😕

@coveralls
Copy link

coveralls commented Jul 15, 2024

Pull Request Test Coverage Report for Build 9943962149

Details

  • 0 of 4 (0.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 81.377%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/debug_utils.jl 0 4 0.0%
Totals Coverage Status
Change from base Build 9928537337: -0.04%
Covered Lines: 2801
Relevant Lines: 3442

💛 - Coveralls

@yebai yebai enabled auto-merge July 15, 2024 17:33
@yebai yebai added this pull request to the merge queue Jul 15, 2024
Merged via the queue into master with commit dfdc155 Jul 15, 2024
11 of 12 checks passed
@yebai yebai deleted the torfjelde/check-model-fix branch July 15, 2024 19:51
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.

3 participants