[fix] var

This commit is contained in:
Al
2016-01-09 03:43:53 -05:00
parent b13462f8ef
commit b85e454a58

View File

@@ -117,7 +117,7 @@ inline bool stochastic_gradient_descent_sparse_finalize_weights(matrix_t *theta,
double *theta_i = matrix_get_row(theta, i);
uint32_t last_updated = updates[i];
regularize_row(theta_i, n, lambda, last_updated, t);
updates[row] = t;
updates[i] = t;
}
}
return true;