Skip to content

fix eachindex for loop#9

Merged
oscardssmith merged 1 commit into
SciML:mainfrom
mcarmesin:main
Oct 16, 2025
Merged

fix eachindex for loop#9
oscardssmith merged 1 commit into
SciML:mainfrom
mcarmesin:main

Conversation

@mcarmesin
Copy link
Copy Markdown
Contributor

@mcarmesin mcarmesin commented Oct 16, 2025

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

setdiagonal!() fails when the diagonal already exists due to the broken for loop

@oscardssmith
Copy link
Copy Markdown
Member

oscardssmith commented Oct 16, 2025

@Shreyas-Ekanathan can you review?

@Shreyas-Ekanathan
Copy link
Copy Markdown
Contributor

yeah i think this looks correct, thanks for catching the bug!

@oscardssmith oscardssmith merged commit 515749a into SciML:main Oct 16, 2025
4 of 7 checks passed
@oscardssmith
Copy link
Copy Markdown
Member

@Shreyas-Ekanathan while you're at it, can you fix the doc build?

@Shreyas-Ekanathan
Copy link
Copy Markdown
Contributor

@Shreyas-Ekanathan while you're at it, can you fix the doc build?

late response but i think the spellcheck is just checking something that shouldn't be tested, not sure how to fix that

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