Skip to content

Commit

Permalink
Fix(write_hmetis): Remain the obj number when omit POs explictly
Browse files Browse the repository at this point in the history
Signed-off-by: wjrforcyber <[email protected]>
  • Loading branch information
wjrforcyber committed Feb 26, 2025
1 parent e5e1f76 commit e9c7059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/io/ioWriteHMetis.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void Io_WriteHMetis( Abc_Ntk_t *pNtk, char *pFileName, int fSkipPo, int fWeightE
Vec_PtrPush( vHyperEdges, vHyperEdgeEach );
}

nHyperNodesNum = fSkipPo ? Abc_NtkObjNum( pNtk ) - Abc_NtkPoNum( pNtk ) : Abc_NtkObjNum( pNtk );
nHyperNodesNum = Abc_NtkObjNum( pNtk );

// write the number of hyperedges and the number of vertices
if ( fWeightEdges )
Expand Down

0 comments on commit e9c7059

Please sign in to comment.