Skip to content

fix bug when save = FALSE & egde_prior = "Stochastic-Block"#36

Merged
MaartenMarsman merged 2 commits intoBayesian-Graphical-Modelling-Lab:mainfrom
sekulovskin:main
Mar 5, 2025
Merged

fix bug when save = FALSE & egde_prior = "Stochastic-Block"#36
MaartenMarsman merged 2 commits intoBayesian-Graphical-Modelling-Lab:mainfrom
sekulovskin:main

Conversation

@sekulovskin
Copy link
Contributor

There was an issue with the summarySBM function. Since you added some error checks, the line

if(arguments$save == FALSE)
   stop('The bgm function must be run with save = TRUE.') 

caused bgms to crash when save = FALSE and edge_prior = "Stochastic-Block". I adjusted this by including an additional argument.

@MaartenMarsman MaartenMarsman merged commit 02f19ca into Bayesian-Graphical-Modelling-Lab:main Mar 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants