module XLearn::Utils

Private Instance Methods

check_call(ret) click to toggle source
# File lib/xlearn/utils.rb, line 5
def check_call(ret)
  raise Error, FFI.XLearnGetLastError if ret != 0
end