From 6add5861120e1b34c386ded3409837a2bd33a939 Mon Sep 17 00:00:00 2001 From: Guillaume Horel Date: Tue, 28 Feb 2017 12:55:28 -0500 Subject: typo --- src/lossdistrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lossdistrib.c b/src/lossdistrib.c index afdc060..35720ea 100644 --- a/src/lossdistrib.c +++ b/src/lossdistrib.c @@ -76,7 +76,7 @@ void lossdistrib(const double *p, const int *np, const double *w, const double * cblas_daxpy(bound, p1, qtemp, 1, q+d1, 1); cblas_daxpy(bound, p2, qtemp, 1, q+d2, 1); #else - for(int j=0; j < bond; j++){ + for(int j=0; j < bound; j++){ q[d1+j] += p1 * qtemp[j]; q[d2+j] += p2 * qtemp[j]; } -- cgit v1.2.3-70-g09d2