Skip to content

Commit

Permalink
remove a couple more std::endl
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes committed Jan 3, 2023
1 parent d30cb55 commit a2cc504
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/math/lp/mps_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ class mps_reader {
} else {
fail:
set_m_ok_to_false();
*m_message_stream << "cannot understand this line" << std::endl;
*m_message_stream << "line = " << m_line << ", line number is " << m_line_number << std::endl;
*m_message_stream << "cannot understand this line\n"
"line = " << m_line << ", line number is " << m_line_number << std::endl;
return;
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/tactic/core/collect_statistics_tactic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ class collect_statistics_tactic : public tactic {
for (unsigned i = 0; i < sz; i++)
for_each_expr(cp, visited, g->form(i));

std::cout << "(" << std::endl;
std::cout << "(\n";
for (auto const& kv : m_stats)
std::cout << " :" << kv.first << " " << kv.second << std::endl;
std::cout << ")" << std::endl;
std::cout << " :" << kv.first << " " << kv.second << '\n';
std::cout << ")\n";

g->inc_depth();
result.push_back(g.get());
Expand Down

0 comments on commit a2cc504

Please sign in to comment.