diff --git a/Project.toml b/Project.toml index a4d591c7..85396f2c 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "ACME" uuid = "ca8b7239-ccd3-5cce-807f-2072f3f0d108" -version = "0.9.1" +version = "0.9.2" [deps] IterTools = "c8e1da08-722c-5040-9ed9-7db0dc04731e" diff --git a/README.md b/README.md index 6340ee4d..407db2cb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ACME.jl - Analog Circuit Modeling and Emulation for Julia [![Join the chat at https://gitter.im/HSU-ANT/ACME.jl](https://badges.gitter.im/HSU-ANT/ACME.jl.svg)](https://gitter.im/HSU-ANT/ACME.jl?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) -[![Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://hsu-ant.github.io/ACME.jl/v0.9.1/) +[![Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://hsu-ant.github.io/ACME.jl/v0.9.2/) [![DOI](https://zenodo.org/badge/48224425.svg)](https://zenodo.org/badge/latestdoi/48224425) ACME is a [Julia](http://julialang.org/) package for the simulation of @@ -123,7 +123,7 @@ fail to run altogether. ## Moving on -There is some [documentation](https://hsu-ant.github.io/ACME.jl/v0.9.1/) +There is some [documentation](https://hsu-ant.github.io/ACME.jl/v0.9.2/) available for how to use ACME. Additionally, you can take a look at the examples that can be found in the `examples` directory below `Pkg.dir("ACME")`. diff --git a/src/kdtree.jl b/src/kdtree.jl index b2c5b39e..2c5b8e7a 100644 --- a/src/kdtree.jl +++ b/src/kdtree.jl @@ -93,7 +93,7 @@ mutable struct Alts{T} end Alts(p::Vector{T}) where {T} = - Alts([AltEntry(1, Vector{T}(undef, length(p)), zero(T))], typemax(T), 0, 1) + Alts([AltEntry(1, zeros(T, length(p)), zero(T))], typemax(T), 0, 1) function init!(alts::Alts{T}, best_dist, best_pidx) where {T} alts.number_valid = 1