From cd6ab70ae0fb5df9cf440efbf9bc6785df26050b Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Tue, 9 Sep 2014 22:11:34 +0200 Subject: [PATCH] Make sure that energy boundaries are set before the sky map is set. --- src/ctbin/ctbin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ctbin/ctbin.cpp b/src/ctbin/ctbin.cpp index 9c98443..3c513d3 100644 --- a/src/ctbin/ctbin.cpp +++ b/src/ctbin/ctbin.cpp @@ -587,14 +587,14 @@ void ctbin::init_cube(void) } // endif: used pointing + // Set energy boundaries + get_ebounds(); + // Create skymap m_cube = GSkymap(m_proj, m_coordsys, xref, yref, -m_binsz, m_binsz, m_nxpix, m_nypix, m_enumbins); - // Set energy boundaries - get_ebounds(); - // Return return; } -- libgit2 0.21.4