Skip to content

Commit c997ae0

Browse files
committed
Tests: Fix conversion from Dataframe to Matrix
1 parent 2e9afa5 commit c997ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ end
108108
@info "test Whiteside"
109109

110110
whiteside = RDatasets.dataset("MASS", "whiteside")
111-
ws = convert(Matrix{Float64}, whiteside[:,2:3])
111+
ws = Matrix{Float64}(whiteside[:,2:3])
112112
X = Array{Float64, 2}(ws[:, 2]')
113113
y = ws[:, 1]
114114

0 commit comments

Comments
 (0)