Fix(write_hmetis): Remain the obj number when omit POs explictly

Signed-off-by: wjrforcyber <wjrforcyber@163.com>
This commit is contained in:
wjrforcyber 2025-02-26 21:36:48 +08:00
parent e5e1f76b21
commit e9c7059274
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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 )