replace Int64 by Int
This commit is contained in:
parent
fde0fa673b
commit
fd37a9c660
@ -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
|
||||||
|
|||||||
@ -197,7 +197,7 @@ function iter_segments(series::Series)
|
|||||||
if has_attribute_segments(series)
|
if has_attribute_segments(series)
|
||||||
return [i:(i + 1) for i in 1:(length(y) - 1)]
|
return [i:(i + 1) for i in 1:(length(y) - 1)]
|
||||||
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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user