aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 862eadef..a113532b 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -689,15 +689,13 @@ int main(int argc, char *argv[])
ERROR("You must give a filename for the output.\n");
return 1;
}
- stream = open_stream_for_write(output_file);
+ stream = open_stream_for_write_2(output_file, geomfile, argc, argv);
if ( stream == NULL ) {
ERROR("Couldn't open output file '%s'\n", output_file);
return 1;
}
free(output_file);
- write_command(stream, argc, argv);
-
image.det = det;
image.width = det->max_fs + 1;
image.height = det->max_ss + 1;