fixed call-time pass-by-reference
Merge pull request #66 from Sampiero/master

fixed call-time pass-by-reference