Skip to content

Conversation

@mkbosmans
Copy link

A little bit of code cleanup.
This will be the groundwork for later memory and speed optimizations of ipfn_np.

User-visible strings should be quoted with " and ' is for internal strings.
The max_itr is now more explicit and the convergence criteria are only
checked in one place instead of in the while condition and after the loop.

The loop now actually stops after doing max_itr iterations, where previously
it would do iterations numbered 0 to max_itr, i.e. one iteration too many.
@mkbosmans mkbosmans mentioned this pull request Nov 29, 2022
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