From c0f5407b16ba5c6aa7a3c6a167176a30b1346e96 Mon Sep 17 00:00:00 2001 From: Eric Mooring <43585225+eqmooring@users.noreply.github.com> Date: Wed, 16 Apr 2025 13:39:47 -0800 Subject: [PATCH 1/2] Update docs on girth --- R/structural-properties.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/structural-properties.R b/R/structural-properties.R index daafe94683a..44fc17fc583 100644 --- a/R/structural-properties.R +++ b/R/structural-properties.R @@ -1937,7 +1937,7 @@ feedback_vertex_set <- feedback_vertex_set_impl #' for undirected circles anyway. #' @param circle Logical scalar, whether to return the shortest circle itself. #' @return A named list with two components: \item{girth}{Integer constant, the -#' girth of the graph, or 0 if the graph is acyclic.} \item{circle}{Numeric +#' girth of the graph, or `Inf` if the graph is acyclic.} \item{circle}{Numeric #' vector with the vertex ids in the shortest circle.} #' @author Gabor Csardi \email{csardi.gabor@@gmail.com} #' @references Alon Itai and Michael Rodeh: Finding a minimum circuit in a From 8c2829a86d81261904623f4be5373244cb8f1a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szabolcs=20Horva=CC=81t?= Date: Thu, 17 Apr 2025 11:49:03 +0000 Subject: [PATCH 2/2] rebuild docs --- man/girth.Rd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/girth.Rd b/man/girth.Rd index 2510fb6a048..5cf0e041b91 100644 --- a/man/girth.Rd +++ b/man/girth.Rd @@ -14,7 +14,7 @@ for undirected circles anyway.} } \value{ A named list with two components: \item{girth}{Integer constant, the -girth of the graph, or 0 if the graph is acyclic.} \item{circle}{Numeric +girth of the graph, or \code{Inf} if the graph is acyclic.} \item{circle}{Numeric vector with the vertex ids in the shortest circle.} } \description{