• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JuliaStats / Distances.jl / 159 / 5
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2016 06:33AM UTC
Files 7
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Nov 2016 06:29AM UTC coverage: 95.968%. Remained the same
159.5

push

travis-ci

ararslan
Extend CosineDist support for number types other than Float64 (#61)

* Cleanup whitespace

* Fix for #55: `CosineDist` fails with Ints

The reason CosineDist was failing for integers was because
`eval_start` was only defined for subtypes of AbstractFloat instead
of Number. Since `zero` has a method in Base for any Number, it seemed
reasonable to widen the net on the types of arrays that `eval_start`
instead of writing a new method on Integers.

* Change CosineDist type from Number to Real

Doing this to avoid ambiguities with Complex numbers.

* Add unit tests for CosineDist on integers

* Fix type coercion for compatibility with v0.4

476 of 496 relevant lines covered (95.97%)

1778.66 hits per line

Source Files on job 159.5
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 159
  • Travis Job 159.5
  • c6b529d5 on github
  • Prev Job for on master (#138.5)
  • Next Job for on master (#162.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc