Skip to content

Commit 6e44f39

Browse files
committed
Corrected use of lp.origin_name_.c_str() == string
1 parent cc645b6 commit 6e44f39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/simplex/HEkk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3620,7 +3620,7 @@ void HEkk::testBasisCondition(const HighsLp& lp,
36203620
exact = false;
36213621
double approx_kappa = this->computeBasisCondition(lp, exact);
36223622
approx_kappa_tt += timer_->read();
3623-
if (kSimplexScaleDevReport && lp.origin_name_.c_str() == "Original")
3623+
if (kSimplexScaleDevReport && lp.origin_name_ == "Original")
36243624
highsLogUser(options_->log_options, HighsLogType::kInfo,
36253625
"getKappa,%s,%g,%g,%g,%g,%s,%s\n", lp.model_name_.c_str(),
36263626
exact_kappa, exact_kappa_tt, approx_kappa, approx_kappa_tt,

0 commit comments

Comments
 (0)