Skip to content

Commit 0fa705c

Browse files
committed
NoLoops() now sets the network attribute "loops" to FALSE before initializing the submodel.
1 parent 2533c84 commit 0fa705c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/InitErgmTerm.operator.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,6 +1302,7 @@ InitErgmTerm.NoLoops <- function(nw, arglist, ...) {
13021302
defaultvalues = list(NULL),
13031303
required = c(TRUE))
13041304

1305+
nw %n% "loops" <- FALSE
13051306
m <- ergm_model(a$formula, nw, ..., offset.decorate = FALSE)
13061307
ergm_no_ext.encode(m)
13071308

0 commit comments

Comments
 (0)