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 and clean CI after Nim 2.2.0 update #84

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

dlesnoff
Copy link
Collaborator

@dlesnoff dlesnoff commented Oct 8, 2024

  • Specify template's return type for correct variable declaration
    I specified the return type of a template in strings/check_anagram.nim
    There was an error about non-discarded char elements, as somehow these values were not considered part of the declaration.
    I am not super fan of this fix, as one branch of the case switch just errors out and do not return a value. I am all ears for a better fix.

  • [modular_inverse] Reduce the number of tests to make CI readable again
    The CI was not very readable due to a too great number of tests in the maths/modular_inverse.nim file. I reduced the number of tests from 1000 to 10.

@dlesnoff dlesnoff requested a review from vil02 October 10, 2024 10:20
@vil02 vil02 merged commit af31828 into TheAlgorithms:main Oct 10, 2024
4 checks passed
@dlesnoff
Copy link
Collaborator Author

Thanks!

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.

2 participants