Skip to content

Commit

Permalink
Use String instead of ByteString
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed May 30, 2016
1 parent 3986e32 commit 123de6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/StatsBase.jl
Expand Up @@ -2,6 +2,7 @@ __precompile__(true)

module StatsBase
using Compat
import Compat.String
using ArrayViews
using StatsFuns

Expand Down
2 changes: 1 addition & 1 deletion src/statmodels.jl
Expand Up @@ -212,7 +212,7 @@ function show(io::IO, ct::CoefTable)
rnwidth = max(4,maximum([length(nm) for nm in rownms]) + 1)
rownms = [rpad(nm,rnwidth) for nm in rownms]
widths = [length(cn)::Int for cn in colnms]
str = ByteString[isa(cols[j][i], AbstractString) ? cols[j][i] :
str = String[isa(cols[j][i], AbstractString) ? cols[j][i] :
sprint(showcompact,cols[j][i]) for i in 1:nr, j in 1:nc]
for j in 1:nc
for i in 1:nr
Expand Down

0 comments on commit 123de6d

Please sign in to comment.