Skip to content

Commit 9df0dcb

Browse files
authored
Merge pull request #33 from mlubin/ml/update
De-cruft
2 parents 2e4e110 + 577d849 commit 9df0dcb

File tree

6 files changed

+6
-15
lines changed

6 files changed

+6
-15
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
language: julia
22
os:
33
- linux
4-
# - osx # backlogged
4+
- osx
55
julia:
6-
- 0.6
7-
- 0.7
8-
- nightly
6+
- 1.0
97
notifications:
108
email: false
119
# uncomment the following lines to override the default test script

Project.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
name = "NaNMath"
22
uuid = "77ba4419-2d1f-58cd-9bb1-8ffee604a2e3"
3+
repo = "https://github.com/mlubin/NaNMath.jl.git"
34
authors = ["Miles Lubin"]
45
version = "0.3.3"
56

67
[deps]
7-
Compat = "34da2185-b29b-5c13-b0c7-acf172513d20"
88

99
[compat]
10-
julia = "0.6, 0.7, 1"
11-
Compat = "0.47, 1, 2, 3"
10+
julia = "1"
1211

1312
[extras]
1413
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
[![Build Status](https://travis-ci.org/mlubin/NaNMath.jl.svg?branch=master)](https://travis-ci.org/mlubin/NaNMath.jl)
2-
[![NaNMath](http://pkg.julialang.org/badges/NaNMath_0.6.svg)](http://pkg.julialang.org/detail/NaNMath)
3-
[![NaNMath](http://pkg.julialang.org/badges/NaNMath_0.7.svg)](http://pkg.julialang.org/detail/NaNMath)
42

53

64
# NaNMath

REQUIRE

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/NaNMath.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
__precompile__()
22
module NaNMath
33

4-
using Compat
5-
64
const libm = Base.libm_name
75

86
for f in (:sin, :cos, :tan, :asin, :acos, :acosh, :atanh, :log, :log2, :log10,
@@ -59,7 +57,7 @@ function sum(x::AbstractArray{T}) where T<:AbstractFloat
5957
end
6058

6159
if isnan(result)
62-
Compat.@warn "All elements of the array, passed to \"sum\" are NaN!"
60+
@warn "All elements of the array, passed to \"sum\" are NaN!"
6361
end
6462
return result
6563
end

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using NaNMath
2-
using Compat.Test
2+
using Test
33

44
@test isnan(NaNMath.log(-10))
55
@test isnan(NaNMath.log1p(-100))

0 commit comments

Comments
 (0)