Commit 43062dc7c505164233ca96a01d014953fe83d158

Authored by knodlseder
1 parent b8655e15

limit number of stalls to 3

Showing 1 changed file with 3 additions and 3 deletions
src/ctlike/ctlike.cpp
... ... @@ -310,7 +310,7 @@ void ctlike::get_parameters(void)
310 310  
311 311 // Get models XML filename
312 312 std::string filename = (*this)["srcmdl"].filename();
313   -
  313 +
314 314 // Setup models for optimizing.
315 315 m_obs.models(GModels(filename));
316 316  
... ... @@ -489,7 +489,7 @@ void ctlike::init_members(void)
489 489 m_obs.clear();
490 490 m_refit = false;
491 491 m_max_iter = 100; // Set maximum number of iterations
492   - m_max_stall = 5; // Set maximum number of stalls
  492 + m_max_stall = 3; // Set maximum number of stalls
493 493 m_logL = 0.0;
494 494 m_opt = NULL;
495 495  
... ... @@ -523,7 +523,7 @@ void ctlike::copy_members(const ctlike& app)
523 523  
524 524 // Return
525 525 return;
526   -}
  526 +}
527 527  
528 528  
529 529 /***********************************************************************//**
... ...