From 69a3ab8d87789321bb79d3af8ea55e6ae7019368 Mon Sep 17 00:00:00 2001 From: kalmarek Date: Sun, 27 Aug 2017 19:13:20 +0200 Subject: [PATCH] ccall((:printf, "libc"), ...) produces segfault for large examples?? --- src/SDPs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDPs.jl b/src/SDPs.jl index ab1cffb..2aab736 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)