Commit 45ba418270438fe0406cc77b4a8deb8bd8cdaab7
1 parent
4f90c87f
Correct typos
Showing
2 changed files
with
2 additions
and
2 deletions
src/ctbin/ctbin.cpp
| ... | ... | @@ -645,7 +645,7 @@ void ctbin::fill_cube(GCTAObservation* obs) |
| 645 | 645 | GSkyDir dir = inst->dir(); |
| 646 | 646 | GSkyPixel pixel = m_cube.dir2pix(dir); |
| 647 | 647 | |
| 648 | - // Skip is pixel is outside RoI | |
| 648 | + // Skip if pixel is outside RoI | |
| 649 | 649 | if (roi.centre().dir().dist_deg(dir) > roi.radius()) { |
| 650 | 650 | num_outside_roi++; |
| 651 | 651 | continue; | ... | ... |
src/ctbkgcube/ctbkgcube.cpp
| ... | ... | @@ -788,7 +788,7 @@ void ctbkgcube::fill_cube(GCTAObservation* obs) |
| 788 | 788 | std::string msg = "CTA Observation does not contain an event " |
| 789 | 789 | "list. Event list information is needed to " |
| 790 | 790 | "retrieve the Region of Interest for each " |
| 791 | - "CTA observation. Please profile an event list " | |
| 791 | + "CTA observation. Please provide an event list " | |
| 792 | 792 | "or an observation definition file containing " |
| 793 | 793 | "event lists as \"infile\" parameter."; |
| 794 | 794 | throw GException::invalid_value(G_FILL_CUBE, msg); | ... | ... |