I have a feeling this is a stupid question, but here it is anyway: Why do you need a wrapper? Why not just declare the object const directly?
const x = 0.0
function inc_global()
x += 1
end
'Greg Plowman' via julia-users Mon, 13 Jun 2016 15:03:47 -0700
I have a feeling this is a stupid question, but here it is anyway: Why do you need a wrapper? Why not just declare the object const directly?
const x = 0.0
function inc_global()
x += 1
end