Skip to content

Commit

Permalink
Issue 06/fix linting (#7)
Browse files Browse the repository at this point in the history
* wip: lint part I

* fix: added `\.vscode` to `.gitignore`

* wip: lint part II

* style: changed `while` to explicit `for`-loop as `len` is known at runtime

* idiom: went for more idiomatic/faster vector filling

* lint/idiom: rearranged index-based loops and vector filling; added `match` or `map...` instead of `if-else`

* lint: removed unnecessary parenthesis that caused compiler warning

* lint: lint part III

* refactor: refactored householder reflections to be more idiomatic and have the more likely branch in the `if` rather than the `else`

* lint: lint part IV

* lint: lint part V

* lint: lints for `data.rs`

* lint: slice lints part I

* lint: slice lints part II

* lint: slice lints part III

* refactor: changed `while`-loop to explicit `for`-loop

* lint: slice lints part IV

* lint: slice lints part V

* lint: slice lints part VI

* lint: LINTED DOCSTRINGS

* lint: linted basic and save-load tests

* lint: lint solver tests

* lint/idiom: made `for`-loop more idiomatic

* idiom: made `cumsum` more idiomatic by replacing loop with zipped iterator

* comment: added `FIXME`

* fix: fixed double-closing doctest
  • Loading branch information
MothNik authored Apr 8, 2024
1 parent 2078f8b commit 57d9aa5
Show file tree
Hide file tree
Showing 6 changed files with 62,956 additions and 1,723 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
/.vscode

# Ignored file types
*.lock
Expand Down
Loading

0 comments on commit 57d9aa5

Please sign in to comment.