Merge pull request #1501 from daschw/integers

replace Int64 by Int
This commit is contained in:
Daniel Schwabeneder 2018-05-06 09:31:52 +02:00 committed by GitHub
commit e99ccd0051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -627,7 +627,7 @@ group_as_matrix(t) = false
else else
g = args[1] g = args[1]
if length(g.args) == 1 if length(g.args) == 1
x = zeros(Int64, lengthGroup) x = zeros(Int, lengthGroup)
for indexes in groupby.groupIds for indexes in groupby.groupIds
x[indexes] = 1:length(indexes) x[indexes] = 1:length(indexes)
end end

View File

@ -201,7 +201,7 @@ function iter_segments(series::Series)
return [i:(i + 1) for i in 1:(length(y) - 1)] return [i:(i + 1) for i in 1:(length(y) - 1)]
end end
else else
segs = UnitRange{Int64}[] segs = UnitRange{Int}[]
args = is3d(series) ? (x, y, z) : (x, y) args = is3d(series) ? (x, y, z) : (x, y)
for seg in iter_segments(args...) for seg in iter_segments(args...)
push!(segs, seg) push!(segs, seg)