Skip to content

Commit 54c75c9

Browse files
committed
Move to Fletcher to chase valgrind error
1 parent 0b890e3 commit 54c75c9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

check/TestLpSolvers.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ TEST_CASE("choose-lp-solver", "[highs_lp_solver]") {
553553

554554
h.resetGlobalScheduler(true);
555555
}
556-
556+
/*
557557
TEST_CASE("chuzc4", "[highs_lp_solver]") {
558558
std::string model_file =
559559
"/srv/mps_da/fit2d.mps.gz";
@@ -581,3 +581,4 @@ TEST_CASE("chuzc4", "[highs_lp_solver]") {
581581
582582
}
583583
584+
*/

highs/util/HighsUtils.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,8 @@ bool updateValueDistribution(const double value,
751751
if (value_distribution.num_count_ < 0) return false;
752752
value_distribution.sum_count_++;
753753
const double abs_value = fabs(value);
754+
printf("updateValueDistribution abs_value = %g\n", abs_value);
755+
printf("updateValueDistribution value_distribution.min_value_ = %g\n", value_distribution.min_value_);
754756
value_distribution.min_value_ =
755757
std::min(abs_value, value_distribution.min_value_);
756758
value_distribution.max_value_ =

0 commit comments

Comments
 (0)