Skip to content

Commit

Permalink
Spelling error.
Browse files Browse the repository at this point in the history
  • Loading branch information
krivit committed Jul 6, 2024
1 parent 1f4401e commit 0ec3773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/InitErgmTerm.operator.R
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ InitErgmTerm..filter.formula.net <- function(nw, arglist, ...){
m <- ergm_model(a$formula, nw, ..., offset.decorate=FALSE)
ergm_no_ext.encode(m)

if(!is.dyad.independent(m) || nparam(m)!=1) ergm_Init_abort("The filter test formula must be dyad-independent and have exactly one statistc.")
if(!is.dyad.independent(m) || nparam(m)!=1) ergm_Init_abort("The filter test formula must be dyad-independent and have exactly one statistic.")

nw[,] <- FALSE
gs <- summary(m, nw)
Expand Down

0 comments on commit 0ec3773

Please sign in to comment.