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

JuliaStats / Distances.jl / 159
95%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2016 06:31AM UTC
Jobs 5
Files 7
Run time 4min
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

pending completion
159

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

481 of 496 relevant lines covered (96.98%)

5242.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 159.1 19 Nov 2016 06:31AM UTC 0
94.8
Travis Job 159.1
2 159.2 19 Nov 2016 06:31AM UTC 0
95.97
Travis Job 159.2
3 159.3 19 Nov 2016 06:31AM UTC 0
96.02
Travis Job 159.3
4 159.4 19 Nov 2016 06:35AM UTC 0
94.8
Travis Job 159.4
5 159.5 19 Nov 2016 06:33AM UTC 0
95.97
Travis Job 159.5
Source Files on build 159
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #159
  • c6b529d5 on github
  • Prev Build on master (#138)
  • Next Build on master (#162)
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