ccall((:printf, "libc"), ...) produces segfault for large examples??

This commit is contained in:
kalmarek 2017-08-27 19:13:20 +02:00
parent f543d847ea
commit 69a3ab8d87
1 changed files with 1 additions and 1 deletions

View File

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