From 67a32cb274e4834412d87369bd536b728777570d Mon Sep 17 00:00:00 2001 From: Christoph Deil Date: Wed, 8 Jan 2014 11:30:45 +0100 Subject: [PATCH] Fix typos in docstrings --- include/GApplication.hpp | 2 +- include/GDerivative.hpp | 2 +- include/GEnergies.hpp | 2 +- include/GEvent.hpp | 2 +- include/GEventAtom.hpp | 2 +- include/GException.hpp | 2 +- include/GFitsImage.hpp | 2 +- include/GFitsTableBitCol.hpp | 2 +- include/GFitsTableCol.hpp | 4 ++-- include/GHealpix.hpp | 2 +- include/GIntegral.hpp | 2 +- include/GLog.hpp | 2 +- include/GMatrixSymmetric.hpp | 2 +- include/GObservation.hpp | 2 +- include/GObservations.hpp | 2 +- include/GOptimizerLM.hpp | 2 +- include/GTestSuites.hpp | 2 +- include/GTools.hpp | 2 +- include/GVector.hpp | 2 +- include/GXml.hpp | 2 +- inst/com/src/GCOMEventCube.cpp | 4 ++-- inst/com/src/GCOMSupport.cpp | 2 +- inst/cta/include/GCTAAeffArf.hpp | 4 ++-- inst/cta/include/GCTAEventBin.hpp | 2 +- inst/cta/include/GCTAResponse.hpp | 4 ++-- inst/cta/src/GCTAEventCube.cpp | 4 ++-- inst/lat/include/GLATObservation.hpp | 2 +- inst/lat/src/GLATEventCube.cpp | 4 ++-- pyext/GApplication.i | 4 ++-- pyext/GIntegral.i | 2 +- pyext/GLog.i | 2 +- pyext/GMatrixBase.i | 2 +- pyext/GOptimizerLM.i | 2 +- pyext/GSkyPixel.i | 2 +- pyext/GSkymap.i | 2 +- pyext/GTestCase.i | 2 +- pyext/GTestSuite.i | 4 ++-- pyext/GTestSuites.i | 2 +- src/app/GException_app.cpp | 2 +- src/app/GPars.cpp | 2 +- src/linalg/GMatrix.cpp | 2 +- src/linalg/GMatrixSparse.cpp | 2 +- src/sky/GHealpix.cpp | 6 +++--- src/sky/GWcs.cpp | 4 ++-- src/template/GClass.hpp | 2 +- 45 files changed, 56 insertions(+), 56 deletions(-) diff --git a/include/GApplication.hpp b/include/GApplication.hpp index 81625e4..d78a1fe 100644 --- a/include/GApplication.hpp +++ b/include/GApplication.hpp @@ -39,7 +39,7 @@ /***********************************************************************//** * @class GApplication * - * @brief GammaLib application interface defintion + * @brief GammaLib application interface definition * * This class provides the base class for ftools-like executables based on * GammaLib. The ftools-like executables will be implemented as derived diff --git a/include/GDerivative.hpp b/include/GDerivative.hpp index f3a5907..b049bae 100644 --- a/include/GDerivative.hpp +++ b/include/GDerivative.hpp @@ -221,7 +221,7 @@ const bool& GDerivative::silent(void) const * * @param[in] function Function. * - * Sets the function for which the derivate should be determined. + * Sets the function for which the derivative should be determined. ***************************************************************************/ inline void GDerivative::function(GFunction* function) diff --git a/include/GEnergies.hpp b/include/GEnergies.hpp index 3180bce..300a1f9 100644 --- a/include/GEnergies.hpp +++ b/include/GEnergies.hpp @@ -148,7 +148,7 @@ bool GEnergies::is_empty(void) const /***********************************************************************//** - * @brief Reserves space for energues in container + * @brief Reserves space for energies in container * * @param[in] num Number of energies. * diff --git a/include/GEvent.hpp b/include/GEvent.hpp index 6acc141..e43e669 100644 --- a/include/GEvent.hpp +++ b/include/GEvent.hpp @@ -41,7 +41,7 @@ * @brief Abstract interface for the event classes. * * This class provides an abstract interface to an event. An event can be - * either a physical event occuring in the instrument (called an event + * either a physical event occurring in the instrument (called an event * atom) or a collection of events with similar properties (called an * event bin). While event atoms are used for unbinned analysis, event bins * are used for binned analysis. The methods is_atom() and is_bin() inform diff --git a/include/GEventAtom.hpp b/include/GEventAtom.hpp index 24429f5..50987f9 100644 --- a/include/GEventAtom.hpp +++ b/include/GEventAtom.hpp @@ -40,7 +40,7 @@ * * @brief Abstract interface for the event atom class. * - * An event atom is a single event occuring in an instrument. Event atoms + * An event atom is a single event occurring in an instrument. Event atoms * are used for unbinned analysis. * * Each event has 3 attributes: energy, instrument direction and time. diff --git a/include/GException.hpp b/include/GException.hpp index 6cfb082..734ff6a 100644 --- a/include/GException.hpp +++ b/include/GException.hpp @@ -20,7 +20,7 @@ ***************************************************************************/ /** * @file GException.hpp - * @brief Exception handler interface definiton. + * @brief Exception handler interface definition. * @author Juergen Knoedlseder */ diff --git a/include/GFitsImage.hpp b/include/GFitsImage.hpp index 2edc5d1..36caf13 100644 --- a/include/GFitsImage.hpp +++ b/include/GFitsImage.hpp @@ -157,7 +157,7 @@ const int& GFitsImage::naxis(void) const /***********************************************************************//** - * @brief Return number of nul values envountered during loading + * @brief Return number of nul values encountered during loading ***************************************************************************/ inline const int& GFitsImage::anynul(void) const diff --git a/include/GFitsTableBitCol.hpp b/include/GFitsTableBitCol.hpp index 9f5c04a..ca7a4fb 100644 --- a/include/GFitsTableBitCol.hpp +++ b/include/GFitsTableBitCol.hpp @@ -39,7 +39,7 @@ * * This class implements a FITS table Bit column. Bits are stored internally * in an array of type char and is transferred to the file in junks of - * 8 Bits (using the cfitsio type TBYTE). + * 8 Bits (using the CFITSIO type TBYTE). ***************************************************************************/ class GFitsTableBitCol : public GFitsTableCol { diff --git a/include/GFitsTableCol.hpp b/include/GFitsTableCol.hpp index c3113a9..33344ee 100644 --- a/include/GFitsTableCol.hpp +++ b/include/GFitsTableCol.hpp @@ -132,7 +132,7 @@ protected: //!< This parameter is used to signal if a //!< table column corresponds to a FITS file //!< column. If it is set to 0 there is no - //!< correspondance. + //!< correspondence. int m_type; //!< Column type int m_repeat; //!< Repeat value of column int m_width; //!< Width of single column element @@ -140,7 +140,7 @@ protected: //!< m_number = m_repeat / m_width int m_length; //!< Length of column (number of rows) bool m_variable; //!< Signals if column is variable length - int m_varlen; //!< Maximum number of elements in variable-lgth + int m_varlen; //!< Maximum number of elements in variable-length std::vector m_rowstart; //!< Start index of each row mutable int m_size; //!< Size of allocated data area (0 if not loaded) int m_anynul; //!< Number of NULLs encountered diff --git a/include/GHealpix.hpp b/include/GHealpix.hpp index 9341448..d69be86 100644 --- a/include/GHealpix.hpp +++ b/include/GHealpix.hpp @@ -37,7 +37,7 @@ /***********************************************************************//** * @class GHealpix * - * @brief HealPix projection class interface defintion + * @brief HealPix projection class interface definition * * The HealPix projection class has been implemented by adapting code from * the HealPix library (version 2.1). For more information about HEALPix, see diff --git a/include/GIntegral.hpp b/include/GIntegral.hpp index 419aea5..dbcd727 100644 --- a/include/GIntegral.hpp +++ b/include/GIntegral.hpp @@ -36,7 +36,7 @@ /***********************************************************************//** * @class GIntegral * - * @brief GIntegral class interface defintion. + * @brief GIntegral class interface definition. * * This class allows to perform integration using various methods. The * integrand is implemented by a derived class of GIntegrand. diff --git a/include/GLog.hpp b/include/GLog.hpp index a1375c8..31a6820 100644 --- a/include/GLog.hpp +++ b/include/GLog.hpp @@ -38,7 +38,7 @@ /***********************************************************************//** * @class GLog * - * @brief Information logger interface defintion. + * @brief Information logger interface definition. * * This class implements an interface for logging of text messages to the * standard output and/or error streams and into an ASCII log file. It diff --git a/include/GMatrixSymmetric.hpp b/include/GMatrixSymmetric.hpp index 462adc2..a5f8ed9 100644 --- a/include/GMatrixSymmetric.hpp +++ b/include/GMatrixSymmetric.hpp @@ -40,7 +40,7 @@ class GVector; /***********************************************************************//** * @class GMatrixSymmetric * - * @brief Symmetric matrix class interface defintion + * @brief Symmetric matrix class interface definition * * This class implements a symmetric matrix. The class stores only a triangle * physically, imposing thus strict matrix symmetry. diff --git a/include/GObservation.hpp b/include/GObservation.hpp index 83dc933..9c830a4 100644 --- a/include/GObservation.hpp +++ b/include/GObservation.hpp @@ -47,7 +47,7 @@ * * This class provides an abstract interface for an observation. The * observation collects information about the instrument, holds the measured - * events, and provides information about the analysis definiton. + * events, and provides information about the analysis definition. * The method model() returns the probability for an event to be measured * with a given instrument direction, a given energy and at a given time, * given a source model and an instrument pointing direction. diff --git a/include/GObservations.hpp b/include/GObservations.hpp index 4192ea5..84b1230 100644 --- a/include/GObservations.hpp +++ b/include/GObservations.hpp @@ -80,7 +80,7 @@ * * Based on the list of models, the optimize() method will optimize all * model parameters that are marked as free in the list of models. The - * npred() method returns the total number of events that are prediced + * npred() method returns the total number of events that are predicted * by all models after optimization. * * GObservations also provides an optimizer class that is derived from diff --git a/include/GOptimizerLM.hpp b/include/GOptimizerLM.hpp index 91e6a04..b1c2052 100644 --- a/include/GOptimizerLM.hpp +++ b/include/GOptimizerLM.hpp @@ -83,7 +83,7 @@ public: int max_boundary_hits(void) const { return m_max_hit; } //!< @brief Return maximum number of boundary hits const double& lambda_start(void) const { return m_lambda_start; } //!< @brief Return lambda start value const double& lambda_inc(void) const { return m_lambda_inc; } //!< @brief Return lambda increment - const double& lambda_dec(void) const { return m_lambda_dec; } //!< @brief Return lambda derement + const double& lambda_dec(void) const { return m_lambda_dec; } //!< @brief Return lambda decrement const double& lambda(void) const { return m_lambda; } //!< @brief Return lambda value const double& eps(void) const { return m_eps; } //!< @brief Return convergence precision diff --git a/include/GTestSuites.hpp b/include/GTestSuites.hpp index 6aeba50..b1b66da 100644 --- a/include/GTestSuites.hpp +++ b/include/GTestSuites.hpp @@ -20,7 +20,7 @@ ***************************************************************************/ /** * @file GTestSuites.hpp - * @brief Test suite container class interface defintion + * @brief Test suite container class interface definition * @author Jean-Baptiste Cayrou */ diff --git a/include/GTools.hpp b/include/GTools.hpp index f7eff13..7efde70 100644 --- a/include/GTools.hpp +++ b/include/GTools.hpp @@ -121,7 +121,7 @@ bool gammalib::is_infinite(const double& x) * * Signals if the argument @p x is not a number. * - * This function is a very simple kluge. It may not work on all systems. + * This function is a very simple kludge. It may not work on all systems. ***************************************************************************/ inline bool gammalib::is_notanumber(const double& x) diff --git a/include/GVector.hpp b/include/GVector.hpp index 48f33e5..750cdde 100644 --- a/include/GVector.hpp +++ b/include/GVector.hpp @@ -40,7 +40,7 @@ * @brief Vector class * * This class implement a double precision floating point vector class that - * is intended to be used for numerical computation (it is not ment to + * is intended to be used for numerical computation (it is not meant to * replace the std::vector template class). ***************************************************************************/ class GVector : public GBase { diff --git a/include/GXml.hpp b/include/GXml.hpp index 5a96640..3367513 100644 --- a/include/GXml.hpp +++ b/include/GXml.hpp @@ -115,7 +115,7 @@ * and to load and save the document from a URL. GXml derives from GContainer * as it behaves like a container class. It does, however, not contain an * explicit list, as the only data member of the class is a single instance - * of GXmlDocument. GXmlDocument contains the hierachical list of all XML + * of GXmlDocument. GXmlDocument contains the hierarchical list of all XML * nodes. * * To manipulate the child nodes of GXmlDocument, the usual container class diff --git a/inst/com/src/GCOMEventCube.cpp b/inst/com/src/GCOMEventCube.cpp index c0a3cb2..2eafab6 100644 --- a/inst/com/src/GCOMEventCube.cpp +++ b/inst/com/src/GCOMEventCube.cpp @@ -693,7 +693,7 @@ void GCOMEventCube::set_scatter_directions(void) // Throw an error if we have no sky pixels if (npix() < 1) { throw GCOMException::no_sky(G_SET_SCATTER_DIRECTIONS, - "Every COMPTEL event cube needs a definiton of sky pixels."); + "Every COMPTEL event cube needs a definition of sky pixels."); } // Clear vectors @@ -760,7 +760,7 @@ void GCOMEventCube::set_energies(void) // Throw an error if GTI is empty if (m_ebounds.size() < 1) { throw GCOMException::no_ebds(G_SET_ENERGIES, "Every COMPTEL event" - " cube needs a definiton of the energy boundaries."); + " cube needs a definition of the energy boundaries."); } // Compute the logarithmic mean energy diff --git a/inst/com/src/GCOMSupport.cpp b/inst/com/src/GCOMSupport.cpp index 66ab2f0..ce48e5a 100644 --- a/inst/com/src/GCOMSupport.cpp +++ b/inst/com/src/GCOMSupport.cpp @@ -59,7 +59,7 @@ void com_wcs_mer2car(GSkymap& map) // Apply kluge only if the skymap is in Mercator's projection if (wcs != NULL && wcs->code() == "MER") { - // Extract original WCS definiton + // Extract original WCS definition double crval1 = wcs->crval(0); double crval2 = wcs->crval(1); double crpix1 = wcs->crpix(0); diff --git a/inst/cta/include/GCTAAeffArf.hpp b/inst/cta/include/GCTAAeffArf.hpp index d3d862c..75f7adc 100644 --- a/inst/cta/include/GCTAAeffArf.hpp +++ b/inst/cta/include/GCTAAeffArf.hpp @@ -45,7 +45,7 @@ class GCTAResponse; * @brief CTA ARF effective area class * * This class implements the CTA effective area response that is defined by - * an auxilliary response function (ARF) file. + * an auxiliary response function (ARF) file. ***************************************************************************/ class GCTAAeffArf : public GCTAAeff { @@ -159,7 +159,7 @@ const double& GCTAAeffArf::sigma(void) const * * Sets the theta cut angle which defines the energy independent cut that * has been assumed in deriving the ARF values. If @p thetacut os 0 (which - * is the default avlue), not thetacut will be applied. + * is the default value), not thetacut will be applied. ***************************************************************************/ inline void GCTAAeffArf::thetacut(const double& thetacut) diff --git a/inst/cta/include/GCTAEventBin.hpp b/inst/cta/include/GCTAEventBin.hpp index 98e0708..26b472c 100644 --- a/inst/cta/include/GCTAEventBin.hpp +++ b/inst/cta/include/GCTAEventBin.hpp @@ -38,7 +38,7 @@ /***********************************************************************//** * @class GCTAEventBin * - * @brief GCTAEventBin class interface defintion + * @brief GCTAEventBin class interface definition * * This class implements a CTA event bin. The event bin is a collection of * pointers that points to the relevant information in memory. The class diff --git a/inst/cta/include/GCTAResponse.hpp b/inst/cta/include/GCTAResponse.hpp index 62456f8..5d93729 100644 --- a/inst/cta/include/GCTAResponse.hpp +++ b/inst/cta/include/GCTAResponse.hpp @@ -246,9 +246,9 @@ const double& GCTAResponse::eps(void) const /***********************************************************************//** - * @brief Return Redestribution Matrix File name + * @brief Return Redistribution Matrix File name * - * @return Redestribution Matrix File name. + * @return Redistribution Matrix File name. ***************************************************************************/ inline const std::string& GCTAResponse::rmffile(void) const diff --git a/inst/cta/src/GCTAEventCube.cpp b/inst/cta/src/GCTAEventCube.cpp index a4ff93e..23b4cab 100644 --- a/inst/cta/src/GCTAEventCube.cpp +++ b/inst/cta/src/GCTAEventCube.cpp @@ -651,7 +651,7 @@ void GCTAEventCube::set_directions(void) // Throw an error if we have no sky pixels if (npix() < 1) { throw GCTAException::no_sky(G_SET_DIRECTIONS, "Every CTA event cube" - " needs a definiton of the sky pixels."); + " needs a definition of the sky pixels."); } // Clear old pixel directions and solid angle @@ -697,7 +697,7 @@ void GCTAEventCube::set_energies(void) // Throw an error if we have no energy bins if (ebins() < 1) { throw GCTAException::no_ebds(G_SET_ENERGIES, "Every CTA event cube" - " needs a definiton of the energy boundaries."); + " needs a definition of the energy boundaries."); } // Clear old bin energies and energy widths diff --git a/inst/lat/include/GLATObservation.hpp b/inst/lat/include/GLATObservation.hpp index 174b4f1..d472af2 100644 --- a/inst/lat/include/GLATObservation.hpp +++ b/inst/lat/include/GLATObservation.hpp @@ -130,7 +130,7 @@ const GLATLtCube* GLATObservation::ltcube(void) const inline std::string GLATObservation::instrument(void) const { - // Return instument name + // Return instrument name return ("LAT"); } diff --git a/inst/lat/src/GLATEventCube.cpp b/inst/lat/src/GLATEventCube.cpp index 665d624..e6df54f 100644 --- a/inst/lat/src/GLATEventCube.cpp +++ b/inst/lat/src/GLATEventCube.cpp @@ -808,7 +808,7 @@ void GLATEventCube::set_directions(void) // Throw an error if we have no sky pixels if (npix() < 1) { throw GLATException::no_sky(G_SET_DIRECTIONS, "Every LAT event cube" - " needs a definiton of the sky pixels."); + " needs a definition of the sky pixels."); } // Clear old pixel directions and solid angle @@ -848,7 +848,7 @@ void GLATEventCube::set_energies(void) // Throw an error if we have no energy bins if (ebins() < 1) { throw GLATException::no_ebds(G_SET_ENERGIES, "Every LAT event cube" - " needs a definiton of the energy boundaries."); + " needs a definition of the energy boundaries."); } // Clear old bin energies and energy widths diff --git a/pyext/GApplication.i b/pyext/GApplication.i index 0a082b2..ae3a7d3 100644 --- a/pyext/GApplication.i +++ b/pyext/GApplication.i @@ -20,7 +20,7 @@ ***************************************************************************/ /** * @file GApplication.i - * @brief GammaLib application base class Python interface defintion + * @brief GammaLib application base class Python interface definition * @author Juergen Knoedlseder */ %{ @@ -37,7 +37,7 @@ /***********************************************************************//** * @class GApplication * - * @brief GammaLib application Python interface defintion. + * @brief GammaLib application Python interface definition. ***************************************************************************/ class GApplication : public GBase { public: diff --git a/pyext/GIntegral.i b/pyext/GIntegral.i index c94d786..30f138e 100644 --- a/pyext/GIntegral.i +++ b/pyext/GIntegral.i @@ -33,7 +33,7 @@ /***********************************************************************//** * @class GIntegral * - * @brief Integration class Python interface defintion. + * @brief Integration class Python interface definition. * * This class allows to perform integration using various methods. The * integrand is implemented by a derived class of GIntegrand. diff --git a/pyext/GLog.i b/pyext/GLog.i index 89be109..2341542 100644 --- a/pyext/GLog.i +++ b/pyext/GLog.i @@ -33,7 +33,7 @@ /***********************************************************************//** * @class GLog * - * @brief Information logger interface defintion. + * @brief Information logger interface definition. ***************************************************************************/ class GLog { public: diff --git a/pyext/GMatrixBase.i b/pyext/GMatrixBase.i index ec12efb..b10447c 100755 --- a/pyext/GMatrixBase.i +++ b/pyext/GMatrixBase.i @@ -32,7 +32,7 @@ /***********************************************************************//** * @class GMatrixBase * - * @brief Abstract matrix base class interface defintion + * @brief Abstract matrix base class interface definition ***************************************************************************/ class GMatrixBase : public GBase { public: diff --git a/pyext/GOptimizerLM.i b/pyext/GOptimizerLM.i index 4e10be5..1514f9e 100644 --- a/pyext/GOptimizerLM.i +++ b/pyext/GOptimizerLM.i @@ -33,7 +33,7 @@ /***********************************************************************//** * @class GOptimizerLM * - * @brief GOptimizerLM class SWIG interface defintion. + * @brief GOptimizerLM class SWIG interface definition. ***************************************************************************/ class GOptimizerLM : public GOptimizer { public: diff --git a/pyext/GSkyPixel.i b/pyext/GSkyPixel.i index a5acdd7..3f92042 100644 --- a/pyext/GSkyPixel.i +++ b/pyext/GSkyPixel.i @@ -33,7 +33,7 @@ /***********************************************************************//** * @class GSkyPixel * - * @brief GSkyPixel class interface defintion + * @brief GSkyPixel class interface definition ***************************************************************************/ class GSkyPixel : public GBase { diff --git a/pyext/GSkymap.i b/pyext/GSkymap.i index 0ada82f..a1f86be 100644 --- a/pyext/GSkymap.i +++ b/pyext/GSkymap.i @@ -103,7 +103,7 @@ static int skymap_tuple(PyObject *input, int *ptr) { /***********************************************************************//** * @class GSkymap * - * @brief GSkymap class interface defintion + * @brief GSkymap class interface definition ***************************************************************************/ class GSkymap : public GBase { diff --git a/pyext/GTestCase.i b/pyext/GTestCase.i index dd7868c..3ca955c 100644 --- a/pyext/GTestCase.i +++ b/pyext/GTestCase.i @@ -32,7 +32,7 @@ /***********************************************************************//** * @class GTestCase * - * @brief Test case Python interface defintion + * @brief Test case Python interface definition ***************************************************************************/ class GTestCase : public GBase { public: diff --git a/pyext/GTestSuite.i b/pyext/GTestSuite.i index 6909bf0..b7ddf3e 100644 --- a/pyext/GTestSuite.i +++ b/pyext/GTestSuite.i @@ -142,7 +142,7 @@ public: /***********************************************************************//** * @class GTestSuite * - * @brief Abstract test suite Python interface defintion + * @brief Abstract test suite Python interface definition ***************************************************************************/ class GTestSuite : public GBase { public: @@ -222,7 +222,7 @@ public: /***********************************************************************//** * @class GTestSuite * - * @brief Test suite Python interface defintion + * @brief Test suite Python interface definition ***************************************************************************/ class GPythonTestSuite : public GTestSuite { public: diff --git a/pyext/GTestSuites.i b/pyext/GTestSuites.i index 1431649..e74b3af 100644 --- a/pyext/GTestSuites.i +++ b/pyext/GTestSuites.i @@ -20,7 +20,7 @@ ***************************************************************************/ /** * @file GTestSuites.i - * @brief Test suite container class interface defintion + * @brief Test suite container class interface definition * @author Jean-Baptiste Cayrou */ %{ diff --git a/src/app/GException_app.cpp b/src/app/GException_app.cpp index b0e8b12..a1067d2 100644 --- a/src/app/GException_app.cpp +++ b/src/app/GException_app.cpp @@ -20,7 +20,7 @@ ***************************************************************************/ /** * @file GException_app.cpp - * @brief Application exception handler interface definiton + * @brief Application exception handler interface definition * @author Juergen Knoedlseder */ diff --git a/src/app/GPars.cpp b/src/app/GPars.cpp index 41094d0..2261704 100644 --- a/src/app/GPars.cpp +++ b/src/app/GPars.cpp @@ -1266,7 +1266,7 @@ void GPars::parse(void) if (contains(fields[0])) { throw GException::par_file_syntax_error(G_PARSE, gammalib::strip_chars(line,"\n"), - "redefiniton of parameter name \""+fields[0]+"\""); + "redefinition of parameter name \""+fields[0]+"\""); } // Add parameter diff --git a/src/linalg/GMatrix.cpp b/src/linalg/GMatrix.cpp index 3d5422b..7ccc856 100644 --- a/src/linalg/GMatrix.cpp +++ b/src/linalg/GMatrix.cpp @@ -908,7 +908,7 @@ GMatrix GMatrix::abs(void) const * * Returns the fill of the matrix. The fill of a matrix is defined as the * number non-zero elements devided by the number of total elements. By - * definiton, the fill is comprised in the interval [0,..,1]. + * definition, the fill is comprised in the interval [0,..,1]. * * The fill of a matrix with zero elements will be set to 0. ***************************************************************************/ diff --git a/src/linalg/GMatrixSparse.cpp b/src/linalg/GMatrixSparse.cpp index 530572b..888154b 100644 --- a/src/linalg/GMatrixSparse.cpp +++ b/src/linalg/GMatrixSparse.cpp @@ -1511,7 +1511,7 @@ GMatrixSparse GMatrixSparse::abs(void) const * @brief Returns fill of matrix * * The fill of a matrix is defined as the number non-zero elements devided - * by the number of total elements. By definiton, the fill is comprised + * by the number of total elements. By definition, the fill is comprised * in the interval [0,..,1]. The fill of an undefined matrix is defined to * be 0. ***************************************************************************/ diff --git a/src/sky/GHealpix.cpp b/src/sky/GHealpix.cpp index 255ee93..89d0e38 100644 --- a/src/sky/GHealpix.cpp +++ b/src/sky/GHealpix.cpp @@ -140,7 +140,7 @@ GHealpix::GHealpix(const GFitsHDU& hdu) : GSkyProjection() // Initialise class members init_members(); - // Read Healpix defintion from FITS table + // Read Healpix definition from FITS table read(hdu); // Return @@ -251,7 +251,7 @@ GHealpix* GHealpix::clone(void) const /***********************************************************************//** - * @brief Read Healpix definiton from FITS header + * @brief Read Healpix definition from FITS header * * @param[in] hdu FITS HDU. * @@ -309,7 +309,7 @@ void GHealpix::read(const GFitsHDU& hdu) /***********************************************************************//** - * @brief Write Healpix definiton into FITS HDU + * @brief Write Healpix definition into FITS HDU * * @param[in] hdu FITS HDU. * diff --git a/src/sky/GWcs.cpp b/src/sky/GWcs.cpp index ad7fd1b..5b174cf 100644 --- a/src/sky/GWcs.cpp +++ b/src/sky/GWcs.cpp @@ -207,7 +207,7 @@ GWcs& GWcs::operator=(const GWcs& wcs) ==========================================================================*/ /***********************************************************************//** - * @brief Read WCS definiton from FITS header. + * @brief Read WCS definition from FITS header. * * @param[in] hdu FITS HDU. * @@ -298,7 +298,7 @@ void GWcs::read(const GFitsHDU& hdu) /***********************************************************************//** - * @brief Write WCS definiton into FITS HDU header + * @brief Write WCS definition into FITS HDU header * * @param[in] hdu FITS HDU. * diff --git a/src/template/GClass.hpp b/src/template/GClass.hpp index 2e33499..f9301c8 100644 --- a/src/template/GClass.hpp +++ b/src/template/GClass.hpp @@ -35,7 +35,7 @@ /***********************************************************************//** * @class GClass * - * @brief [brief descriptor] interface defintion + * @brief [brief descriptor] interface definition ***************************************************************************/ class GClass : public GBase { -- libgit2 0.21.4