Skip to content

Commit f5ae224

Browse files
committed
Update code for Julia v1.0
1 parent b4eaa00 commit f5ae224

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/NumericalIntegration.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
__precompile__()
2-
31
module NumericalIntegration
42

53
export integrate

test/runtests.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using NumericalIntegration
2-
using Base.Test
2+
using Test
3+
using InteractiveUtils # for subtypes
34
using StaticArrays
45

56
@testset "compare with analytic result" begin
@@ -22,7 +23,7 @@ using StaticArrays
2223
end
2324

2425
@testset "SVector" begin
25-
xs = linspace(0,1,10)
26+
xs = range(0, stop=1, length=10)
2627
ys1 = randn(10)
2728
ys2 = randn(10)
2829
ys = map(SVector, ys1, ys2)

0 commit comments

Comments
 (0)