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

Allow CSR and CSC matrices with no non-zero entries #100

Merged
merged 7 commits into from
Dec 4, 2024

Conversation

mscroggs
Copy link
Collaborator

@mscroggs mscroggs commented Dec 2, 2024

No description provided.

Comment on lines +109 to +114
let max_col = if let Some(col) = cols.iter().max() {
*col
} else {
0
};
let max_row = if let Some(row) = rows.last() { *row } else { 0 };
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the important change in this PR. Most other changes are due to new clippy version

mscroggs added a commit to bempp/bempp-rs that referenced this pull request Dec 2, 2024
@tbetcke tbetcke merged commit 143f6ed into main Dec 4, 2024
12 checks passed
@tbetcke tbetcke deleted the mscroggs/empty-array branch December 4, 2024 13:25
mscroggs added a commit to bempp/bempp-rs that referenced this pull request Dec 9, 2024
* First working example for function space creation

* working on new bindings

* clippy and simplifying

* fmt

* more bindings

* make empty CSR matrix manually (see linalg-rs/rlst#100)

* new ndgrid release

* is_serial

* clippy

* more clippy

* unecesary whitespace

* use nightly on ci

* work on fixing CI

* nightly

* rust-

---------

Co-authored-by: Timo Betcke <[email protected]>
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