Skip to content
Snippets Groups Projects
Verified Commit 5dbcc504 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Bug fix (pruning at second order in estimation).

Closes #1853.

(cherry picked from commit f7204e6e)
parent 2f1e98ee
No related branches found
No related tags found
No related merge requests found
Pipeline #7022 passed
......@@ -108,7 +108,7 @@ ss2Iteration_pruning(double *y2, double *y1, const double *yhat2, const double *
// +ghxu·yhat1⊗u
for (int v = particle__, i = 0; v < particle__+n; v++)
for (int s = particle___; s < particle___+q; s++, i += m)
y2[variable_] += ghxu[variable+i]*epsilon[s]*yhat2[v];
y2[variable_] += ghxu[variable+i]*epsilon[s]*yhat1[v];
#ifdef FIRST_ORDER_LOOP
for (int column = 0, column_ = 0; column < q; column++, column_ += m)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment