albiremo / dualGPy

Python library to generate the dual graph of a generic mesh
MIT License
2 stars 0 forks source link

Minor fix in computation of the CSR representation #27

Open RiMillo opened 1 year ago

RiMillo commented 1 year ago

For Graph2D, two functions are available to compute the CSR. However, they don't yield the same result: adj_to_csr have a (unnecessary?) zero at the beginning. This fix try to avoid this and adj_to_csr and get_CSR now returns the same result