Remove side effect from DiGraph summation
This fixes a bug where DiGraph summation (using the `+` operator) would
mutate the DiGraph. This occurred because the underlying edges set was not
being cloned. This is fixed to explicitly clone the underlying edges set.
Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com>
parent
50ba95fe
Please register or sign in to comment