Skip to content

Commit

Permalink
make cudalib.localversion a simple number
Browse files Browse the repository at this point in the history
  • Loading branch information
zdevito committed Mar 9, 2015
1 parent 6b1f21b commit 849ba6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cudalib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ end
function cudalib.localversion()
initjitcuda()
return cudaVersion
return tonumber(cudaVersion)
end
local return1 = macro(function(x)
Expand Down

0 comments on commit 849ba6d

Please sign in to comment.