Skip to content

Commit 8cf3cc3

Browse files
authored
fix: remove lost eprintln (#110)
1 parent 20d5f86 commit 8cf3cc3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/solvers/clarabel.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ impl SolverModel for ClarabelProblem {
103103
let mut solver = self.into_solver();
104104
solver.solve();
105105
match solver.solution.status {
106-
e @ (SolverStatus::PrimalInfeasible | SolverStatus::AlmostPrimalInfeasible) => {
107-
eprintln!("Clarabel error: {:?}", e);
106+
SolverStatus::PrimalInfeasible | SolverStatus::AlmostPrimalInfeasible => {
108107
Err(ResolutionError::Infeasible)
109108
}
110109
SolverStatus::Solved

src/variables_macro.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
/// You should never create expressions with variables that come from different
104104
/// [ProblemVariables](crate::variable::ProblemVariables) instances.
105105
///
106-
/// ```should_panic
106+
/// ```should_panic,ignore-wasm
107107
/// use good_lp::{variables, default_solver, SolverModel};
108108
///
109109
/// variables!{pb1: a;}

0 commit comments

Comments
 (0)