aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-01 12:20:11 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commitce045961f4d1cee94b98cbb8580141b20bb0a00f (patch)
tree9310c120031ad2e924dda45e5f33e5cd9fe4990d /src/pattern_sim.c
parentc5dc4b204fab4dfd4a33ff4e2e299f407e9561f9 (diff)
indexamajig: Take output stream as a command line parameter
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index ea3722a7..5fd7e7ea 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -419,7 +419,8 @@ int main(int argc, char *argv[])
if ( config_nearbragg ) {
find_projected_peaks(&image, cell, 0, 0.1);
- output_intensities(&image, cell, NULL, 0, 1, 0, 0, 0.1);
+ output_intensities(&image, cell, NULL, 0, 1, 0, stdout,
+ 0, 0.1);
}
if ( powder_fn != NULL ) {