aboutsummaryrefslogtreecommitdiff
path: root/src/hdfsee.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-10-23 13:15:03 +0200
committerThomas White <taw@physics.org>2014-10-23 17:02:33 +0200
commit31831ec21fb3a3d080f4d48c86853d78f7a1d592 (patch)
tree1f9e9ae5fdb23a17a7198ed6f87db4f94dba39b9 /src/hdfsee.c
parent3e8d906fb6cfcf0940fce2a805087414c4d9ffd6 (diff)
Initialise photon_energy_from some more
Diffstat (limited to 'src/hdfsee.c')
-rw-r--r--src/hdfsee.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hdfsee.c b/src/hdfsee.c
index 4961c7b0..1ef21559 100644
--- a/src/hdfsee.c
+++ b/src/hdfsee.c
@@ -152,6 +152,10 @@ int main(int argc, char *argv[])
{0, 0, NULL, 0}
};
+ /* Default beam parameters */
+ beam.photon_energy = 0.0;
+ beam.photon_energy_from = NULL;
+
/* This isn't great, but necessary to make the command-line UI and file
* formats consistent with the other programs, which all use the C
* locale. Better would be to have all the programs call