Skip to content

No seed variable when initializing HyMMSBMSampler #24

@larryzhang95

Description

@larryzhang95

In the HyMMSBM Sampler class, there's a random number generator variable that takes a seed value, in the constructor:

self._rng: np.random.Generator = np.random.default_rng(seed)

The solution is as easy as adding another member variable to the constructor seed, which I did on my end. I can submit a pull request if desired. It worked properly after doing that.

Note that I installed this from source , so I used pip install -e .['all'] while in the hypergraphx directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions