1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-27 01:10:28 +01:00

errors are redirected in SL.jl

This commit is contained in:
kalmar 2017-03-17 17:32:49 +01:00
parent 0abcf2a10d
commit 1368dfed5e

View File

@ -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!")