Thanks Yichao, Eric, and Kevin for your messages. I learned a lot from you!
I solved this specific problem using AbstractFloat and Integer, as you suggested. But I see I have a lot of old code where I was using "Float64" and "Int64" and I now understand I need to change all of them to make them a bit more portable. For example, to use template (function f1{T}(p1::T, v1::Vector{T}, m1::Matrix{T}). Thanks a lot! Charles On 1 January 2016 at 09:02, Eric Forgy <eric.fo...@gmail.com> wrote: > Ah. Thanks for the correction :) > > Happy New Year! > -- Um axé! :) -- Charles Novaes de Santana, PhD http://www.imedea.uib-csic.es/~charles