Commit 8868d41da5aa0cbe9631ebb534ab96249c08bfaf

Authored by Jürgen Knödlseder
1 parent c2a1beec

Remove unused variable in GCTAEdisp2D::mc

Showing 1 changed file with 1 additions and 2 deletions
inst/cta/src/GCTAEdisp2D.cpp
1 1 /***************************************************************************
2 2 * GCTAEdisp2D.cpp - CTA 2D energy dispersion class *
3 3 * ----------------------------------------------------------------------- *
4   - * copyright (C) 2015-2019 by Florent Forest *
  4 + * copyright (C) 2015-2020 by Florent Forest *
5 5 * ----------------------------------------------------------------------- *
6 6 * *
7 7 * This program is free software: you can redistribute it and/or modify *
... ... @@ -527,7 +527,6 @@ GEnergy GCTAEdisp2D::mc(GRan& ran,
527 527 double ewidth = emax - emin;
528 528 double f = 0.0;
529 529 double ftest = 1.0;
530   - int zeros = 0;
531 530 const int max_subsequent_zeros = 10;
532 531  
533 532 // Find energy by rejection method
... ...