From 31831ec21fb3a3d080f4d48c86853d78f7a1d592 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 23 Oct 2014 13:15:03 +0200 Subject: Initialise photon_energy_from some more --- src/hdfsee.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/hdfsee.c') 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 -- cgit v1.2.3