Skip to content

Commit

Permalink
Fixed a typo in the DyadGen sleep/wake API.
Browse files Browse the repository at this point in the history
  • Loading branch information
krivit committed May 27, 2024
1 parent 53fc621 commit fd0358b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ergm
Version: 4.7-7340
Date: 2024-02-19
Version: 4.7-7356
Date: 2024-05-27
Title: Fit, Simulate and Diagnose Exponential-Family Models for Networks
Authors@R: c(
person(c("Mark", "S."), "Handcock", role=c("aut"), email="[email protected]"),
Expand Down
2 changes: 1 addition & 1 deletion inst/include/ergm_dyadgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ static inline void DyadGenSleep(DyadGen *gen){
that it must keep track of what they are.
FIXME: Maybe we should *always* maintain an UnsrtEL? Need to benchmark. */
if(gen->intertype != NoELDyadGen) DyadGenSetUpIntersect(gen, NULL, TRUE);
if(gen->intertype == NoELDyadGen) DyadGenSetUpIntersect(gen, NULL, TRUE);
}

static inline void DyadGenWake(DyadGen *gen){
Expand Down

0 comments on commit fd0358b

Please sign in to comment.