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

lapmod input #16

Open
MariosGr opened this issue May 24, 2019 · 1 comment
Open

lapmod input #16

MariosGr opened this issue May 24, 2019 · 1 comment

Comments

@MariosGr
Copy link

Is the input of lapmod() supposed to be the a csr matrix?
i.e.
cc=cost.data
ii=cost.indptr
kk=cost.indices
as defined by scipy (https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csr_matrix.html) ?

I have tried a few examples and I am getting strange results.

Also, is prepare_sparse_cost() supposed to convert a coo sparse matrix to csr?

@gatagat
Copy link
Owner

gatagat commented May 26, 2019

Please provide a test case reproducing the issue and let us know which version are you using.

You might find some additional information in #14.

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

No branches or pull requests

2 participants