diff --git a/Applications/shapeworks/Commands.cpp b/Applications/shapeworks/Commands.cpp index 48f5c1ecf1..03233dc791 100644 --- a/Applications/shapeworks/Commands.cpp +++ b/Applications/shapeworks/Commands.cpp @@ -54,7 +54,7 @@ static void setup_callbacks(bool show_progress, bool xml_status) { if (xml_status) { auto progress_callback = [](double progress, std::string message) { // show percentage complete - std::cout << fmt::format("{}{:.1f}", message, progress) + std::cout << fmt::format("{}{:.1f}", message, progress) << "\n"; std::cout.flush(); }; diff --git a/Libs/Optimize/Optimize.cpp b/Libs/Optimize/Optimize.cpp index 53b14dc98a..ab0fed6d06 100644 --- a/Libs/Optimize/Optimize.cpp +++ b/Libs/Optimize/Optimize.cpp @@ -201,10 +201,6 @@ int Optimize::SetParameters() { return false; } - - SW_ERROR("Inconsistency in parameters... m_domains_per_shape != m_number_of_particles.size()"); - return false; - // ensure that use_shape_statistics_after doesn't increase the particle count over what was specified for (int i = 0; i < m_number_of_particles.size(); i++) { m_use_shape_statistics_after = std::min(m_use_shape_statistics_after, m_number_of_particles[i]);