diff options
| author | Guillaume Horel <guillaume.horel@gmail.com> | 2017-02-28 12:55:28 -0500 |
|---|---|---|
| committer | Guillaume Horel <guillaume.horel@gmail.com> | 2017-02-28 12:55:28 -0500 |
| commit | 6add5861120e1b34c386ded3409837a2bd33a939 (patch) | |
| tree | c7fb95696f915049db5183c252bdc420a46b0e9a | |
| parent | 252844cf98f4838b9f9482b53559e79d4b35fde6 (diff) | |
| download | lossdistrib-6add5861120e1b34c386ded3409837a2bd33a939.tar.gz | |
typo
| -rw-r--r-- | src/lossdistrib.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |
