From b4521a98cd46b18ad707eeb5e2477877a21fd41c Mon Sep 17 00:00:00 2001 From: seastian Date: Sun, 15 Dec 2024 06:46:34 +0000 Subject: [PATCH] fix: update add rows error message (#50) --- packages/highs-addon/src/solver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/highs-addon/src/solver.cc b/packages/highs-addon/src/solver.cc index dbe8c9c..7bcca16 100644 --- a/packages/highs-addon/src/solver.cc +++ b/packages/highs-addon/src/solver.cc @@ -364,7 +364,7 @@ void Solver::AddRows(const Napi::CallbackInfo& info) { vals.Data() ); if (status != HighsStatus::kOk) { - ThrowError(env, "Change columns cost failed"); + ThrowError(env, "Adding rows failed"); return; } }