Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Removed duplicate reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Borassi committed Aug 5, 2015
1 parent 5c78561 commit 3f371f8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/sage/graphs/generic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -14863,12 +14863,6 @@ def wiener_index(self, by_weight=False, algorithm=None,
Traceback (most recent call last):
...
ValueError: BFS algorithm does not work on weighted graphs.

REFERENCE:

.. [KRG96b] S. Klavzar, A. Rajapakse, and I. Gutman. The Szeged and the
Wiener index of graphs. *Applied Mathematics Letters*, 9(5):45--49,
1996.
"""
by_weight = by_weight or (weight_function is not None)

Expand Down

0 comments on commit 3f371f8

Please sign in to comment.