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

Improve various docstrings by converting to jldoctest #2579

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Conversation

odow
Copy link
Member

@odow odow commented Nov 4, 2024

No description provided.

delete(model, c1)
evaluator = Evaluator(model)
MOI.initialize(evaluator, Symbol[])
ordinal_index(model, c2) # Returns 1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should have been ordinal_index(evaluator, c2). It's amazing just how many mistakes there are if you don't test the examples.

@odow odow merged commit d066d0d into master Nov 4, 2024
16 checks passed
@odow odow deleted the od/docstrings branch November 4, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant