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 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{