Skip to content

Commit

Permalink
Merge pull request #9 from mauritsd/pull-request/00353580
Browse files Browse the repository at this point in the history
The return type from the print helper function should be Void, not Bool.
  • Loading branch information
innerlee authored Nov 9, 2016
2 parents 618b160 + 0035358 commit 6bf7194
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/LIBLINEAR.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ let liblinear = C_NULL
end

# helper
linear_print(str::Ptr{UInt8}) = verbosity && print(unsafe_string(str))
function linear_print(str::Ptr{UInt8})
if verbosity
print(unsafe_string(str))
end
nothing
end

macro cachedsym(symname)
cached = gensym()
Expand Down

0 comments on commit 6bf7194

Please sign in to comment.