Skip to content

Commit

Permalink
Bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanminko committed Feb 14, 2025
1 parent 0cbc9a8 commit e5e1f76
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/base/io/ioWriteHMetis.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
PackageName [Command processing package.]
Synopsis [Procedures to write hMetis format developed by
George Karypis and Vipin Kumar from the University of
Minnesota(https://karypis.github.io/glaros/files/sw/hmetis/manual.pdf)]
George Karypis and Vipin Kumar from the University of Minnesota
(https://karypis.github.io/glaros/files/sw/hmetis/manual.pdf)]
Author [Jingren Wang]
Expand Down Expand Up @@ -39,7 +39,7 @@ void Io_WriteHMetis( Abc_Ntk_t *pNtk, char *pFileName, int fSkipPo, int fWeightE
if ( pFHMetis == NULL )
{
fprintf( stdout, "Io_WriteHMetis(): Cannot open the output file \"%s\".\n", pFileName );
ABC_FREE( pFHMetis );
fclose( pFHMetis );
return;
}

Expand Down Expand Up @@ -106,6 +106,7 @@ void Io_WriteHMetis( Abc_Ntk_t *pNtk, char *pFileName, int fSkipPo, int fWeightE
fprintf( pFHMetis, "\n%%This file was written by ABC on %s\n", Extra_TimeStamp() );
fprintf( pFHMetis, "%%For information about hMetis format, refer to %s\n", "https://karypis.github.io/glaros/files/sw/hmetis/manual.pdf" );
Vec_PtrFreeFree( vHyperEdges );
fclose( pFHMetis );
}

ABC_NAMESPACE_IMPL_END

0 comments on commit e5e1f76

Please sign in to comment.