From 1368dfed5e0d902217257470abeeafb351dac32f Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 17 Mar 2017 17:32:49 +0100 Subject: [PATCH] errors are redirected in SL.jl --- src/sdps.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sdps.jl b/src/sdps.jl index 762dd42..44d234b 100644 --- a/src/sdps.jl +++ b/src/sdps.jl @@ -74,7 +74,6 @@ function solve_SDP(SDP_problem, solver) # @time MathProgBase.writeproblem(SDP_problem, "/tmp/SDP_problem") out = STDOUT - err = STDERR o = redirect_stdout(solver_logger.handlers["solver"].io) e = redirect_stderr(solver_logger.handlers["solver"].io) @@ -84,7 +83,6 @@ function solve_SDP(SDP_problem, solver) remove_handler(solver_logger, "solver") redirect_stdout(o) - redirect_stderr(e) if solution_status != :Optimal warn(logger, "The solver did not solve the problem successfully!")