Skip to content

Commit

Permalink
Fixed a crash in the DyadGen code when generating a random non-edge f…
Browse files Browse the repository at this point in the history
…rom an RLEBDM. Thanks @benrosche for the report.

fixes #538
  • Loading branch information
krivit committed Dec 9, 2023
1 parent 535b7fa commit 1ef5543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: ergm
Version: 4.6-7277
Version: 4.6-7278
Date: 2023-12-09
Title: Fit, Simulate and Diagnose Exponential-Family Models for Networks
Authors@R: c(
Expand Down
1 change: 1 addition & 0 deletions inst/include/ergm_dyadgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ static inline void DyadGenRandNonedge(Vertex *tail, Vertex *head, DyadGen *gen){
case RLEBDM1DGen:
case WtRLEBDM1DGen:
GetRandRLEBDM1D(tail, head, &gen->dyads.rlebdm);
break;
case EdgeListGen:
case WtEdgeListGen:
{
Expand Down

0 comments on commit 1ef5543

Please sign in to comment.