Skip to content

Commit c6f9a50

Browse files
committed
graphs: use math mode in new comments
1 parent b914497 commit c6f9a50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/graphs/base/dense_graph.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ It also contains the following variables::
101101
.. NOTE::
102102
103103
As the edges are stored as the adjacency matrix of the graph, enumerating
104-
the edges of the graph has complexity O(n^2) and enumerating the neighbors
105-
of a vertex has complexity O(n) (where n in the size of the bitset
104+
the edges of the graph has complexity `O(n^2)` and enumerating the neighbors
105+
of a vertex has complexity `O(n)` (where `n` in the size of the bitset
106106
active_vertices).
107107
So, the class ``DenseGraph`` should be used for graphs such that the number
108108
of edges is close to the square of the number of vertices.

0 commit comments

Comments
 (0)