@@ -31,7 +31,7 @@ void Scaling::Initialize(const HighsLp& lp) {
3131void Scaling::LogMatrixNorms (const std::string& stage) {
3232 const HighsLp& lp = *lp_;
3333 highsLogUser (params_->log_options_ , HighsLogType::kInfo ,
34- " \n --- Matrix Norms %d ---\n " , stage.c_str ());
34+ " \n --- Matrix Norms %s ---\n " , stage.c_str ());
3535
3636 if (lp.num_col_ == 0 || lp.num_row_ == 0 ) {
3737 highsLogUser (params_->log_options_ , HighsLogType::kInfo ,
@@ -49,7 +49,7 @@ void Scaling::LogMatrixNorms(const std::string& stage) {
4949 max_abs_val = std::max (max_abs_val, std::abs (lp.a_matrix_ .value_ [iEl]));
5050 }
5151 highsLogUser (params_->log_options_ , HighsLogType::kInfo , " Col %d: %g\n " ,
52- iCol, max_abs_val);
52+ int ( iCol) , max_abs_val);
5353 }
5454
5555 // --- Calculate and Log Row Norms (Infinity Norm) ---
@@ -67,7 +67,7 @@ void Scaling::LogMatrixNorms(const std::string& stage) {
6767
6868 for (HighsInt iRow = 0 ; iRow < lp.num_row_ ; ++iRow) {
6969 highsLogUser (params_->log_options_ , HighsLogType::kInfo , " Row %d: %g\n " ,
70- iRow, row_max_abs_vals[iRow]);
70+ int ( iRow) , row_max_abs_vals[iRow]);
7171 }
7272 highsLogUser (params_->log_options_ , HighsLogType::kInfo ,
7373 " -------------------------\n " );
0 commit comments