Skip to content

Commit

Permalink
修复word2vec文件流关闭问题 fix: #1806
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Feb 24, 2023
1 parent 94b41c5 commit e1020b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public void readVectorFile() throws IOException
matrix = Utility.shrink(matrix, new float[words][]);
}
}
catch (IOException e)
finally
{
Utility.closeQuietly(br);
Utility.closeQuietly(r);
Expand Down

0 comments on commit e1020b0

Please sign in to comment.