Skip to content

Commit 8fde70d

Browse files
authored
Merge pull request #21421 from musm/patch-3
Update signature of cpu_summary
2 parents 5ce0d7a + 69f4655 commit 8fde70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/sysinfo.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function _cpu_summary(io::IO, cpu::Array{CPUinfo}, i, j)
117117
println(io)
118118
end
119119

120-
function cpu_summary(io::IO=STDOUT, cpu::Array{CPUinfo}=cpu_info())
120+
function cpu_summary(io::IO=STDOUT, cpu::AbstractVector{CPUinfo} = cpu_info())
121121
model = cpu[1].model
122122
first = 1
123123
for i = 2:length(cpu)

0 commit comments

Comments
 (0)