wangwei created SINGA-28:
----------------------------

             Summary: Fix a bug from topology sort of Graph
                 Key: SINGA-28
                 URL: https://issues.apache.org/jira/browse/SINGA-28
             Project: Singa
          Issue Type: Bug
            Reporter: wangwei
            Assignee: wangwei


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to