Skip to content

Commit d6f9c02

Browse files
committed
Small fix
1 parent b6827fd commit d6f9c02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lstm.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1611,8 +1611,7 @@ void lstm_train(lstm_model_t** model_layers, lstm_model_parameters_t *params,
16111611
set_t* char_index_mapping, unsigned int training_points,
16121612
int* X_train, int* Y_train, unsigned int layers)
16131613
{
1614-
int status = 0;
1615-
unsigned int p;
1614+
int status = 0, p;
16161615
unsigned int i = 0, b = 0, q = 0, e1 = 0, e2 = 0, e3, record_iteration = 0, tmp_count, trailing;
16171616
unsigned long n = 0, epoch = 0;
16181617
double loss = -1, loss_tmp = 0.0, record_keeper = 0.0;

0 commit comments

Comments
 (0)