Skip to content

Comments

Fix logic of Inversion.__next__ method#55

Merged
santisoler merged 1 commit intomainfrom
fix-inversion-next
Oct 17, 2025
Merged

Fix logic of Inversion.__next__ method#55
santisoler merged 1 commit intomainfrom
fix-inversion-next

Conversation

@santisoler
Copy link
Member

The first model that gets returned should be the initial model, so the zeroth model matches the zeroth iteration (status before any minimization is carried out). This would also make the list of models generated by the iterator the same as the Inversion.models.

The first model that gets returned should be the initial model, so the
zeroth model matches the zeroth iteration (status before any
minimization is carried out). This would also make the list of models
generated by the iterator the same as the `Inversion.models`.
@santisoler santisoler merged commit 3dcf21a into main Oct 17, 2025
2 checks passed
@santisoler santisoler deleted the fix-inversion-next branch October 17, 2025 23:39
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