From b46ed5ae964215ea5539a8c1c0e00081e72d8edf Mon Sep 17 00:00:00 2001 From: kalmarek Date: Sat, 9 Sep 2017 20:47:12 +0200 Subject: [PATCH] Revert "ccall((:printf, "libc"), ...) produces segfault for large examples??" This reverts commit 69a3ab8d87789321bb79d3af8ea55e6ae7019368. This should be commented on machine-basis --- src/SDPs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDPs.jl b/src/SDPs.jl index 2aab736..ab1cffb 100644 --- a/src/SDPs.jl +++ b/src/SDPs.jl @@ -60,7 +60,7 @@ function solve_SDP(SDP_problem) # to change buffering mode of stdout to _IOLBF (line bufferin) # see https://github.com/JuliaLang/julia/issues/8765 - # ccall((:printf, "libc"), Int, (Ptr{UInt8},), "\n"); + ccall((:printf, "libc"), Int, (Ptr{UInt8},), "\n"); o = redirect_stdout(solver_logger.handlers["solver_log"].io)