Uploaded image for project: 'Singa'
  1. Singa
  2. SINGA-28

Fix a bug from topology sort of Graph

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None

    Description

      The is a bug in the Sort function of graph.cc, which would push one node into the 'tmp' queue for multiple times if this node has multiple source nodes.

      Solution, check for every node if it is already in the queue before pushing it.
      When it is not in the queue, then push it. Otherwise do nothing.

      Attachments

        Activity

          People

            wangwei.cs wangwei
            wangwei.cs wangwei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: