Skip to content

Commit f4a67f7

Browse files
committed
Minor formatting fix
1 parent 7917e73 commit f4a67f7

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

highs/lp_data/HighsInterface.cpp

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ void Highs::reportModelStats() const {
6767
highsLogDev(log_options, HighsLogType::kInfo, "%4s : %s\n",
6868
problem_type.c_str(), lp.model_name_.c_str());
6969
highsLogDev(log_options, HighsLogType::kInfo,
70-
"Row%s : %" HIGHSINT_FORMAT "\n", lp.num_row_,
71-
lp.num_row_ == 1 ? "" : "s");
70+
"Row%s : %" HIGHSINT_FORMAT "\n",
71+
lp.num_row_ == 1 ? "" : "s", lp.num_row_);
7272
highsLogDev(log_options, HighsLogType::kInfo,
73-
"Col%s : %" HIGHSINT_FORMAT "\n", lp.num_col_,
74-
lp.num_col_ == 1 ? "" : "s");
73+
"Col%s : %" HIGHSINT_FORMAT "\n",
74+
lp.num_col_ == 1 ? "" : "s", lp.num_col_);
7575
if (q_num_nz) {
7676
highsLogDev(log_options, HighsLogType::kInfo,
7777
"Matrix Nz : %" HIGHSINT_FORMAT "\n", a_num_nz);
7878
highsLogDev(log_options, HighsLogType::kInfo,
7979
"Hessian Nz: %" HIGHSINT_FORMAT "\n", q_num_nz);
8080
} else {
8181
highsLogDev(log_options, HighsLogType::kInfo,
82-
"Nonzero%s : %" HIGHSINT_FORMAT "\n", a_num_nz,
83-
a_num_nz == 1 ? "" : "s");
82+
"Nonzero%s : %" HIGHSINT_FORMAT "\n",
83+
a_num_nz == 1 ? "" : "s", a_num_nz);
8484
}
8585
if (num_integer)
8686
highsLogDev(log_options, HighsLogType::kInfo,
@@ -2877,10 +2877,11 @@ HighsStatus Highs::lpKktCheck(const HighsLp& lp, const std::string& message) {
28772877
info.primal_dual_objective_error / optimality_tolerance;
28782878
foundOptimalityError();
28792879
if (was_optimal)
2880-
highsLogUser(log_options, HighsLogType::kWarning,
2881-
" %8.3g relative P-D objective error "
2882-
"(tolerance = %4.0e)\n",
2883-
info.primal_dual_objective_error, optimality_tolerance);
2880+
highsLogUser(
2881+
log_options, HighsLogType::kWarning,
2882+
" %8.3g relative P-D objective error "
2883+
"(tolerance = %4.0e)\n",
2884+
info.primal_dual_objective_error, optimality_tolerance);
28842885
}
28852886
// Set the primal and dual solution status according to tolerance failure
28862887
if (max_primal_tolerance_relative_violation >

0 commit comments

Comments
 (0)