HGX-Team / hypergraphx

HGX is a multi-purpose, open-source Python library for higher-order network analysis
https://hypergraphx.readthedocs.io/
Other
199 stars 22 forks source link

Fix return type error in `incidence_matrix_all_orders()` #20

Closed ab1nash closed 11 months ago

ab1nash commented 11 months ago

The function incidence_matrix_all_orders() was malfunctioning depending on whether return_mapping was true or not. I have added a conditional check for the same.

FraLotito commented 11 months ago

Got these modifications from a following PR from the same author, already merged