Closed oiwah closed 6 years ago
The current glove.c implementation allocates superfluous memory space for word/context vectors. Vector size is already incremented for bias in line 67, therefore, we do not need to add 1 afterward.
In addition, the weird indentation is revised, too.
Applied manually. Thanks, Hide.
The current glove.c implementation allocates superfluous memory space for word/context vectors. Vector size is already incremented for bias in line 67, therefore, we do not need to add 1 afterward.
In addition, the weird indentation is revised, too.