Skip to content

Commit

Permalink
Remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
akenmorris committed Feb 3, 2023
1 parent 5994fe0 commit 49ed309
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion Applications/shapeworks/Commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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("<xml><message>{}</message><progress>{:.1f}</progress></xml>", message, progress)
std::cout << fmt::format("<xml><status>{}</status><progress>{:.1f}</progress></xml>", message, progress)
<< "\n";
std::cout.flush();
};
Expand Down
4 changes: 0 additions & 4 deletions Libs/Optimize/Optimize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 49ed309

Please sign in to comment.