Better error message when providing wrong number of arguments
Merge pull request #190 from JuliaOpt/bettergetindex

Better error message when providing wrong number of arguments