Skip to content

Commit c456965

Browse files
committed
a few more Meta.parses, and Compat.Test
1 parent dcc049a commit c456965

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

src/HierarchicalMatrix.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ add_col!(H::AbstractHierarchicalMatrix, u::Vector, j::Int) = add_col!(H, u, 1, j
4747
end
4848
return y
4949
end"
50-
return parse(str)
50+
return Meta.parse(str)
5151
end
5252

5353
@generated function scale!(H::HierarchicalMatrix, b::AbstractVector, jstart::Int)
@@ -75,7 +75,7 @@ end
7575
end
7676
return H
7777
end"
78-
return parse(str)
78+
return Meta.parse(str)
7979
end
8080

8181
@generated function scale!(b::AbstractVector, H::HierarchicalMatrix, istart::Int)
@@ -103,7 +103,7 @@ end
103103
end
104104
return H
105105
end"
106-
return parse(str)
106+
return Meta.parse(str)
107107
end
108108

109109
@generated function add_col!(H::HierarchicalMatrix{S}, u::Vector{S}, istart::Int, j::Int) where S
@@ -141,5 +141,5 @@ end
141141
end
142142
return H
143143
end"
144-
return parse(str)
144+
return Meta.parse(str)
145145
end

test/runtests.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
using HierarchicalMatrices
2-
if VERSION v"0.7.0-DEV.1775"
3-
using Base.Test
4-
else
5-
using Test
6-
end
2+
using Compat.Test
73

84

95
for r in map(BLOCKRANK, subtypes(AbstractFloat))

0 commit comments

Comments
 (0)