diff options
author | Thomas White <taw@physics.org> | 2010-05-27 16:32:09 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-05-27 16:32:09 +0200 |
commit | 7c45e455a6ee020174580355f746e7b03a1119df (patch) | |
tree | 3571bf279f4cc3ddbad9189b84895003b7d3a9e5 /src | |
parent | fcc8e11f426ef2888513d00b71784115a3aaa0ef (diff) |
Don't record scaling factors if gas detector value wasn't available
Diffstat (limited to 'src')
-rw-r--r-- | src/likelihood.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/likelihood.c b/src/likelihood.c index 1089e396..dd10c562 100644 --- a/src/likelihood.c +++ b/src/likelihood.c @@ -32,7 +32,7 @@ void scale_intensities(const double *model, double *new_pattern, unsigned int i; s = stat_scale_intensity(model, model_counts, new_pattern, new_counts); - printf("%f %f\n", s, f0); + if ( f0 != 1.0 ) printf("%f %f\n", s, f0); /* NaN -> abort */ if ( isnan(s) ) return; |