Looking back at this I agree I misunderstood Kristoffer, however I don't
think that this is the problem.
For context, my custom type is defined as follows:
type Parjm
x::Array{Float64,1}
y::Array{Float64,1}
end
So the subelements of, say, temp[1,:A] are always arrays of Float64. If
instead the Parjm type had been defined as
type Parjm
x::Array{Any,1}
y::Array{Any,1}
end
I would think it could cause the problem you and Kristoffer have pointed to.
On Friday, October 7, 2016 at 3:23:04 AM UTC-4, Fengyang Wang wrote:
>
> I think you have misunderstood Kristoffer. It's possible the Int values
> themselves are of distinct types; note for instance
>
> julia> Array{Int, Int32(1)}
> Array{Int64,1}
>
> julia> Array{Int, 1}
> Array{Int64,1}
>
> julia> Array{Int, Int32(1)} == Array{Int, 1}
> false
>
>
>
>
> On Thursday, October 6, 2016 at 10:52:24 PM UTC-4, r5823 wrote:
>>
>> All elements of temp and DF are of type ParType.Parjm so I don't think
>> there is any mixing going on in terms of different types within :A of each
>> variable
>>
>>
>> On Monday, October 3, 2016 at 5:45:55 AM UTC-4, Kristoffer Carlsson wrote:
>>>
>>> The int value "1" is an Int32 in one case and an Int64 in another?
>>
>>