Skip to content

Commit cf38a9a

Browse files
committed
import spectralGraphTopology
1 parent d4f6694 commit cf38a9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/sparse-graph.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ library(spectralGraphTopology)
2929
#' \item{\code{elapsed_time}}{elapsed time recorded at every iteration}
3030
#' @author Ze Vinicius, Jiaxi Ying, and Daniel Palomar
3131
#' @export
32+
#' @import spectralGraphTopology
3233
learn_laplacian_pgd_connected <- function(S, w0 = NULL, alpha = 0, sparsity_type = "none",
3334
eps = 1e-4, gamma = 2.001, q = 1, backtrack = TRUE,
3435
maxiter = 10000, reltol = 1e-5, verbose = TRUE) {
@@ -178,4 +179,4 @@ compute_initial_point <- function(w, Sinv, eta) {
178179
w <- wi
179180
}
180181
return(w + 1e-4)
181-
}
182+
}

0 commit comments

Comments
 (0)