Skip to content

Commit

Permalink
Merge pull request #31 from JuliaRobotics/maintenance/julia1
Browse files Browse the repository at this point in the history
Maintenance/julia1
  • Loading branch information
dehann committed Sep 30, 2018
2 parents 14a2cf5 + 03d0931 commit 288ed14
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -4,6 +4,7 @@ os:
- osx
julia:
- 0.7
- 1.0
- nightly
notifications:
email: false
Expand All @@ -13,6 +14,6 @@ matrix:
- julia: nightly
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.test("KernelDensityEstimate"; coverage=true)'
- julia --check-bounds=yes -e 'using Pkg; Pkg.clone(pwd()); Pkg.test("KernelDensityEstimate"; coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("KernelDensityEstimate")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
- julia -e 'using Pkg; cd(Pkg.dir("KernelDensityEstimate")); Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
1 change: 0 additions & 1 deletion REQUIRE
@@ -1,3 +1,2 @@
julia 0.7
Distributions
Compat 1.1.0
2 changes: 1 addition & 1 deletion src/BallTreeDensity01.jl
Expand Up @@ -8,7 +8,7 @@ end

global DirectSize = 100; # if N*M is less than this, just compute.

@compat abstract type MixtureDensity end
abstract type MixtureDensity end

mutable struct BallTreeDensity <: MixtureDensity
bt::BallTree
Expand Down
6 changes: 2 additions & 4 deletions src/KernelDensityEstimate.jl
Expand Up @@ -3,7 +3,7 @@ __precompile__(true)
module KernelDensityEstimate

using LinearAlgebra, Statistics
using Distributions, Compat
using Distributions

import Distributions: sample
import Base: promote_rule, *, rand, string, convert
Expand Down Expand Up @@ -46,9 +46,7 @@ export
VectorRange


# useful aliases
@compat VoidUnion{T} = Union{Void, T}
@compat VectorRange{T} = Union{Vector{T},UnitRange{T}}
VectorRange{T} = Union{Vector{T},UnitRange{T}}

include("BallTree01.jl")
include("BallTreeDensity01.jl")
Expand Down

0 comments on commit 288ed14

Please sign in to comment.