You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a bug in the BuildBPGraphFromCSRFormat function.
I am getting RightVertices size one higher than what it should be. The
bug seems to be in this loop over columns.
949//put together the right vertices950 map< int,vector<int> >::iterator curr;
951 m_vi_RightVertices.push_back(m_vi_Edges.size());
952for(int i=0; i <= i_ColumnCount; i++) {
953 curr = colList.find(i);
954if(curr !=colList.end()) {
955 m_vi_Edges.insert(m_vi_Edges.end(),curr->second.begin(),curr->second.end());
956 }//else We have an empty column957 m_vi_RightVertices.push_back(m_vi_Edges.size());
958 }
I think there is a bug in the BuildBPGraphFromCSRFormat function.
I am getting RightVertices size one higher than what it should be. The
bug seems to be in this loop over columns.
line 952 should look like
The loop should be between
0, i_ColumnCount - 1
and not0, i_ColumnCount
The text was updated successfully, but these errors were encountered: