Skip to content

circular require warning #14

@martindemello

Description

@martindemello

I get a circular require warning when loading weighted_graph:

graph_matching-0.2.1/lib/graph_matching/algorithm/mwm_general.rb:3: warning: loading in progress, circular require considered harmful - graph_matching-0.2.1/lib/graph_matching/graph/weighted_graph.rb

The require in mwm_general seems to be solely for the check

        assert(graph).is_a(Graph::WeightedGraph)

so perhaps it could check for a sentinel method from Weighted instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions