The C++ code (B_matrix.cpp) assumes the edgelist it reads is undirected and unweighted even if that is not the user's intent. I've updated portrait_divergence.py to prevent calling both C++ (--cpp) and directed/weighted options. It would be nice to support directed/weoghted graphs with the C++.
Thanks @Mattia10427725.
The C++ code (
B_matrix.cpp) assumes the edgelist it reads is undirected and unweighted even if that is not the user's intent. I've updatedportrait_divergence.pyto prevent calling both C++ (--cpp) and directed/weighted options. It would be nice to support directed/weoghted graphs with the C++.Thanks @Mattia10427725.