aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-28 15:53:53 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:51 +0100
commit8d8b66de06e91413f368b27d27562471fc2d2adc (patch)
tree4f0dde0fd296ebfec2bd97911e82653570653030 /src
parenta8e69108c1be5ad74f65b504636336f4940e0085 (diff)
Fix obvious problem with process_hkl --scale
Diffstat (limited to 'src')
-rw-r--r--src/likelihood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/likelihood.c b/src/likelihood.c
index 98ffcba0..417ebea3 100644
--- a/src/likelihood.c
+++ b/src/likelihood.c
@@ -42,7 +42,7 @@ void scale_intensities(const double *model, double *new_pattern,
/* Multiply the new pattern up by "s" */
for ( i=0; i<LIST_SIZE; i++ ) {
- new_counts[i] *= s;
+ new_pattern[i] *= s;
}
free(new_counts);