Commit b5470cc55fe8fccb8c1226e45237bd56108d6fd8
1 parent
e0d833e6
Fetch energy dispersion response table before returning reference to table (#1940)
Showing
1 changed file
with
1 additions
and
0 deletions
inst/cta/include/GCTAEdisp2D.hpp
| @@ -189,6 +189,7 @@ GFilename GCTAEdisp2D::filename(void) const | @@ -189,6 +189,7 @@ GFilename GCTAEdisp2D::filename(void) const | ||
| 189 | inline | 189 | inline |
| 190 | const GCTAResponseTable& GCTAEdisp2D::table(void) const | 190 | const GCTAResponseTable& GCTAEdisp2D::table(void) const |
| 191 | { | 191 | { |
| 192 | + fetch(); | ||
| 192 | return (m_edisp); | 193 | return (m_edisp); |
| 193 | } | 194 | } |
| 194 | 195 |