type inference fix
Merge pull request #25 from JuliaOpt/typefix

type inference fix