Skip to content

Wrong recursive entropy calculation #52

Closed
@alin256

Description

@alin256

I was wondering why the overlapping simulation fails so often with all new cool features.

I actually found a bug here. We mark cells as checked, which means we do not update the cell if we visit it multiple times during the entropy reduction. Removing the cell.checked condition makes things converge all the time.

if (depth > MAX_RECURSION_DEPTH || cell.checked) return;

I can make a pull request to correct this.

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