Skip to content

Commit

Permalink
Fix bug in init_tergmLite
Browse files Browse the repository at this point in the history
  • Loading branch information
smjenness committed Dec 14, 2018
1 parent 0d747cb commit 73d2a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/initialize.R
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ init_tergmLite <- function(dat) {
for (i in 1:num_nw) {

nwp <- dat$nwparam[[i]]
is_tergm <- nwp$coef.diss$duration > 1
is_tergm <- all(nwp$coef.diss$duration > 1)
if (num_nw == 1) {
nw <- dat$nw
} else {
Expand Down

0 comments on commit 73d2a2d

Please sign in to comment.