Commit cf853cd845f5f2c402606dc0f495fbe175922923

Authored by knodlseder
1 parent a39a0727

correct method names

Showing 1 changed file with 3 additions and 3 deletions
src/app/GPar.cpp
@@ -40,8 +40,8 @@ @@ -40,8 +40,8 @@
40 #define G_STRING_SET "GPar::string(std::string&)" 40 #define G_STRING_SET "GPar::string(std::string&)"
41 #define G_FILENAME_SET "GPar::filename(std::string&)" 41 #define G_FILENAME_SET "GPar::filename(std::string&)"
42 #define G_BOOLEAN_SET "GPar::boolean(bool&)" 42 #define G_BOOLEAN_SET "GPar::boolean(bool&)"
43 -#define G_INTEGER_SET "GPar::integer(bool&)"  
44 -#define G_REAL_SET "GPar::real(bool&)" 43 +#define G_INTEGER_SET "GPar::integer(int&)"
  44 +#define G_REAL_SET "GPar::real(double&)"
45 #define G_STRING_GET "GPar::string()" 45 #define G_STRING_GET "GPar::string()"
46 #define G_FILENAME_GET "GPar::filename()" 46 #define G_FILENAME_GET "GPar::filename()"
47 #define G_BOOLEAN_GET "GPar::boolean()" 47 #define G_BOOLEAN_GET "GPar::boolean()"
@@ -348,7 +348,7 @@ void GPar::boolean(const bool& value) @@ -348,7 +348,7 @@ void GPar::boolean(const bool& value)
348 ***************************************************************************/ 348 ***************************************************************************/
349 void GPar::integer(const int& value) 349 void GPar::integer(const int& value)
350 { 350 {
351 - // Check if parameter is boolean 351 + // Check if parameter is integer
352 if (m_type != "i") 352 if (m_type != "i")
353 throw GException::par_error(G_INTEGER_SET, name(), 353 throw GException::par_error(G_INTEGER_SET, name(),
354 "attempted to set "+gpar_type_string(m_type)+ 354 "attempted to set "+gpar_type_string(m_type)+