Commit 48526cfc546a34a9ccd4156c965ac8bee4ed68cf

Authored by Jürgen Knödlseder
1 parent ba32149f

Integrate energy dispersion linearly instead of logarithmically (#2706)

Showing 1 changed file with 1 additions and 1 deletions
inst/cta/src/GCTAEdisp2D.cpp
... ... @@ -561,7 +561,7 @@ GEnergy GCTAEdisp2D::mc(GRan& ran,
561 561 } while (f == 0);
562 562  
563 563 // Get uniform random value between zero and the maximum energy
564   - // dispersion value. The loop is quite if the random number is smaller
  564 + // dispersion value. The loop is quit if the random number is smaller
565 565 // than the energy dispersion value
566 566 ftest = ran.uniform() * max_edisp;
567 567  
... ...