Skip to content

Commit

Permalink
Merge pull request #136 from daveh19/master
Browse files Browse the repository at this point in the history
Fixing printing of error description text.
  • Loading branch information
vchuravy committed Jun 24, 2017
2 parents 52a6e70 + 3c24304 commit 64b20df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.jl
Expand Up @@ -188,5 +188,5 @@ Base.show(io::IO, err::CLError) =
Base.print(io, "CLError(code=$(err.code), $(err.desc))")

function error_description(err::CLError)
get(_cl_error_descriptions, err.code, "no description for error $(err.code)")
get(_cl_err_desc, err.code, "no description for error $(err.code)")
end

0 comments on commit 64b20df

Please sign in to comment.