JuliaML / LIBLINEAR.jl

LIBLINEAR bindings for Julia
Other
12 stars 10 forks source link

The return type from the print helper function should be Void, not Bool. #9

Closed mauritsd closed 8 years ago

mauritsd commented 8 years ago

A small bug in the 0.5 version of your Julia LIBLINEAR wrapper. The "verbosity && print(...)" shortcut causes the return type of the function to be Bool. Since the cfunction wrapper expects it to be Void this will cause any ccall into LIBLINEAR to fail. Fixed by reverting to the old verbose function syntax.

innerlee commented 8 years ago

thanks!