From eeb2951d9a9c2ec3adc064ccae2c1049574a51be Mon Sep 17 00:00:00 2001 From: Hugh <98380919+Balance-H@users.noreply.github.com> Date: Sun, 26 Apr 2026 14:27:08 +0800 Subject: [PATCH 1/2] Fix: change default triangulation to minimal_triang in mpd.default (#12) --- R/igraph_mpd.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/R/igraph_mpd.R b/R/igraph_mpd.R index d3f6eba..b59495a 100755 --- a/R/igraph_mpd.R +++ b/R/igraph_mpd.R @@ -80,7 +80,7 @@ mpd <- function(object, tobject=minimal_triang(object), details=0) { #' @export #' @rdname graph-mpd -mpd.default <- function(object, tobject=triangulate(object), details=0){ +mpd.default <- function(object, tobject=minimal_triang(object), details=0){ graph_class <- c("igraph", "matrix", "dgCMatrix") chk <- inherits(object, graph_class, which=TRUE) @@ -168,4 +168,3 @@ mpdMAT <- function(amat, tamat=minimal_triangMAT(amat), details=0){ } - From 0537587fd0aa41f0a286b5ca143b1744dea622d9 Mon Sep 17 00:00:00 2001 From: Hugh <98380919+Balance-H@users.noreply.github.com> Date: Sun, 26 Apr 2026 14:34:12 +0800 Subject: [PATCH 2/2] Fix: change default triangulation to minimal_triang in mpd.default (#12) --- R/igraph_mpd.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/igraph_mpd.R b/R/igraph_mpd.R index b59495a..b948218 100755 --- a/R/igraph_mpd.R +++ b/R/igraph_mpd.R @@ -168,3 +168,4 @@ mpdMAT <- function(amat, tamat=minimal_triangMAT(amat), details=0){ } +