summaryrefslogtreecommitdiff
path: root/networkx/algorithms/approximation/clique.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/algorithms/approximation/clique.py')
-rw-r--r--networkx/algorithms/approximation/clique.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/approximation/clique.py b/networkx/algorithms/approximation/clique.py
index ff6d7573..f3f07374 100644
--- a/networkx/algorithms/approximation/clique.py
+++ b/networkx/algorithms/approximation/clique.py
@@ -81,7 +81,7 @@ def clique_removal(G):
Approximating maximum independent sets by excluding subgraphs.
BIT Numerical Mathematics, 32(2), 180–196. Springer.
"""
- graph = G.copy()
+ graph = G.copy(with_data=False)
c_i, i_i = ramsey.ramsey_R2(graph)
cliques = [c_i]
isets = [i_i]